summaryrefslogtreecommitdiff
path: root/src/ssh.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ssh.h')
-rw-r--r--src/ssh.h18
1 files changed, 10 insertions, 8 deletions
diff --git a/src/ssh.h b/src/ssh.h
index 2dd99f5..413fb6a 100644
--- a/src/ssh.h
+++ b/src/ssh.h
@@ -1,19 +1,21 @@
#ifndef _SSH_H_
#define _SSH_H_
+#include <stdbool.h>
#include <libssh/libssh.h>
#include <libssh/sftp.h>
struct ssh_opts {
- char *login_name; /* -l */
- char *port; /* -p */
- char *identity; /* -i */
- char *cipher; /* -c */
- int compress; /* -C */
- int debuglevel; /* -v */
-
- char *password; /* filled at the first connecting phase */
+ char *login_name; /* -l */
+ char *port; /* -p */
+ char *identity; /* -i */
+ char *cipher; /* -c */
+ int compress; /* -C */
+ int debuglevel; /* -v */
+ bool no_hostkey_check; /* -H */
+
+ char *password; /* filled at the first connecting phase */
};
/* ssh_make_sftp_session() creates sftp_session. sshdst accpets