summaryrefslogtreecommitdiff
path: root/src/ssh.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ssh.h')
-rw-r--r--src/ssh.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ssh.h b/src/ssh.h
index 6df6e6d..21cf9f6 100644
--- a/src/ssh.h
+++ b/src/ssh.h
@@ -16,7 +16,9 @@ struct ssh_opts {
int debuglevel; /* -v */
bool no_hostkey_check; /* -H */
- char *password; /* filled at the first connecting phase */
+#define PASSWORD_BUF_SZ 128
+ char *password; /* password for password auth */
+ char *passphrase; /* passphrase for private key */
};
/* ssh_init_sftp_session() creates sftp_session. sshdst accpets