aboutsummaryrefslogtreecommitdiff
path: root/include/libssh/session.h
diff options
context:
space:
mode:
authorJakub Jelen <jjelen@redhat.com>2018-08-07 11:25:27 +0200
committerAndreas Schneider <asn@cryptomilk.org>2018-08-31 14:18:34 +0200
commit4521ab73b6858efa0083ac96a1775719b1f649ae (patch)
treefd828e2ee89bb72b051008afc528dc7880beeede /include/libssh/session.h
parent9ca6127b91c785289535b302feccdf23d5bcc6b1 (diff)
downloadlibssh-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/session.h')
-rw-r--r--include/libssh/session.h1
1 files changed, 1 insertions, 0 deletions
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 */