This commit is contained in:
brent s 2018-11-03 02:49:24 -04:00
parent 33043a3499
commit b27ee82a9d

View File

@ -38,7 +38,6 @@ class SSHAuthInfo(object):
self._ssh.auth_none('') self._ssh.auth_none('')
except paramiko.ssh_exception.BadAuthenticationType as err: except paramiko.ssh_exception.BadAuthenticationType as err:
secopts = self._ssh.get_security_options() secopts = self._ssh.get_security_options()
print(secopts.key_types)
if self.info['methods']: if self.info['methods']:
# https://stackoverflow.com/a/1257769 # https://stackoverflow.com/a/1257769
self.info['methods'] = err.allowed_types self.info['methods'] = err.allowed_types