add -o SSH_OPTION option

This commit is contained in:
Ryo Nakamura
2024-04-12 23:08:22 +09:00
parent bf7e2c3ae3
commit a1b9afefe5
6 changed files with 89 additions and 15 deletions

View File

@@ -61,6 +61,7 @@ struct mscp_ssh_opts {
char *port; /** ssh port */
int ai_family; /** address family */
char *config; /** path to ssh_config, default ~/.ssh/config*/
char **options; /** array of ssh_config options, terminated by NULL */
char *identity; /** path to private key */
char *cipher; /** cipher spec */
char *hmac; /** hmacp spec */