diff options
| author | Ryo Nakamura <upa@haeena.net> | 2022-12-02 23:20:23 +0900 |
|---|---|---|
| committer | Ryo Nakamura <upa@haeena.net> | 2022-12-02 23:20:23 +0900 |
| commit | 5846c6b6a9c43614e30afdee9081794751b749c1 (patch) | |
| tree | 25ec8427fbb568b4c7392bdc5fefdb266dcfec67 /src/ssh.h | |
| parent | 03a3a6dc4beacd77093a9619aed9b9fd6d9e786b (diff) | |
cache passphrase for private key for later connections.
Diffstat (limited to 'src/ssh.h')
| -rw-r--r-- | src/ssh.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |
