diff --git a/src/pylibsshext/session.pyx b/src/pylibsshext/session.pyx index 009d486ac..39d8c578c 100644 --- a/src/pylibsshext/session.pyx +++ b/src/pylibsshext/session.pyx @@ -33,7 +33,7 @@ OPTS_MAP = { "timeout": libssh.SSH_OPTIONS_TIMEOUT, "knownhosts": libssh.SSH_OPTIONS_KNOWNHOSTS, "proxycommand": libssh.SSH_OPTIONS_PROXYCOMMAND, - "publickey_accepted_types": libssh.SSH_OPTIONS_PUBLICKEY_ACCEPTED_TYPES, + "publickey_accepted_algorithms": libssh.SSH_OPTIONS_PUBLICKEY_ACCEPTED_TYPES, "hostkeys": libssh.SSH_OPTIONS_HOSTKEYS, "gssapi_server_identity": libssh.SSH_OPTIONS_GSSAPI_SERVER_IDENTITY, "gssapi_client_identity": libssh.SSH_OPTIONS_GSSAPI_CLIENT_IDENTITY,