Skip to content

Commit 6139589

Browse files
NilashishCwebknjaz
authored andcommitted
Add support for specifying Kex Algos
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
1 parent 0c08c20 commit 6139589

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/pylibsshext/session.pyx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ OPTS_MAP = {
3333
"timeout": libssh.SSH_OPTIONS_TIMEOUT,
3434
"knownhosts": libssh.SSH_OPTIONS_KNOWNHOSTS,
3535
"proxycommand": libssh.SSH_OPTIONS_PROXYCOMMAND,
36+
"kex_algorithms": libssh.SSH_OPTIONS_KEY_EXCHANGE,
3637
"publickey_accepted_algorithms": libssh.SSH_OPTIONS_PUBLICKEY_ACCEPTED_TYPES,
3738
"hostkeys": libssh.SSH_OPTIONS_HOSTKEYS,
3839
"gssapi_server_identity": libssh.SSH_OPTIONS_GSSAPI_SERVER_IDENTITY,

0 commit comments

Comments
 (0)