diff options
author | Jakub Jelen <jjelen@redhat.com> | 2018-08-07 11:25:27 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2018-08-31 14:18:34 +0200 |
commit | 4521ab73b6858efa0083ac96a1775719b1f649ae (patch) | |
tree | fd828e2ee89bb72b051008afc528dc7880beeede /include/libssh | |
parent | 9ca6127b91c785289535b302feccdf23d5bcc6b1 (diff) | |
download | libssh-4521ab73b6858efa0083ac96a1775719b1f649ae.tar.gz libssh-4521ab73b6858efa0083ac96a1775719b1f649ae.tar.xz libssh-4521ab73b6858efa0083ac96a1775719b1f649ae.zip |
options: The new option SSH_OPTIONS_PUBLICKEY_ACCEPTED_TYPES
This option allows to specify acceptable public key algorithms
and reflects the PubkeyAcceptedTypes configuration option from
OpenSSH.
Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'include/libssh')
-rw-r--r-- | include/libssh/libssh.h | 1 | ||||
-rw-r--r-- | include/libssh/session.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h index 01e0a138..1f5cdf87 100644 --- a/include/libssh/libssh.h +++ b/include/libssh/libssh.h @@ -404,6 +404,7 @@ enum ssh_options_e { SSH_OPTIONS_GSSAPI_AUTH, SSH_OPTIONS_GLOBAL_KNOWNHOSTS, SSH_OPTIONS_NODELAY, + SSH_OPTIONS_PUBLICKEY_ACCEPTED_TYPES, }; enum { diff --git a/include/libssh/session.h b/include/libssh/session.h index 00717652..107d4aec 100644 --- a/include/libssh/session.h +++ b/include/libssh/session.h @@ -204,6 +204,7 @@ struct ssh_session_struct { char *knownhosts; char *global_knownhosts; char *wanted_methods[10]; + char *pubkey_accepted_types; char *ProxyCommand; char *custombanner; unsigned long timeout; /* seconds */ |