You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
paramiko.RSAKey.from_private_key_file(file, password='XXXXXXXX') is unable to log my router.
File "C:/Users/15362/Documents/bdd_atx_qy_app/tools/net/base_ssh.py", line 40, in login
self.ssh.connect(timeout=15, hostname=self.host, port=self.port, username=username, pkey=private_key, allow_agent=False, look_for_keys=False)
File "C:\Users\15362\Documents\bdd_atx_qy_app\env_test\lib\site-packages\paramiko\client.py", line 446, in connect
passphrase,
File "C:\Users\15362\Documents\bdd_atx_qy_app\env_test\lib\site-packages\paramiko\client.py", line 766, in _auth
raise saved_exception
File "C:\Users\15362\Documents\bdd_atx_qy_app\env_test\lib\site-packages\paramiko\client.py", line 666, in _auth
self._transport.auth_publickey(username, pkey)
File "C:\Users\15362\Documents\bdd_atx_qy_app\env_test\lib\site-packages\paramiko\transport.py", line 1634, in auth_publickey
return self.auth_handler.wait_for_response(my_event)
File "C:\Users\15362\Documents\bdd_atx_qy_app\env_test\lib\site-packages\paramiko\auth_handler.py", line 258, in wait_for_response
raise e
paramiko.ssh_exception.AuthenticationException: Authentication failed.
but the private key can be used in SSH software.This is my private key .
-----BEGIN RSA PRIVATE KEY-----
Proc-Type: 4,ENCRYPTED
DEK-Info: AES-128-CBC,481AC46E02AE11033F311344B6AEFA82
XXXXXXXXXXXXXXXX
-----END RSA PRIVATE KEY-----
The text was updated successfully, but these errors were encountered:
paramiko.RSAKey.from_private_key_file(file, password='XXXXXXXX') is unable to log my router.
but the private key can be used in SSH software.This is my private key .
-----BEGIN RSA PRIVATE KEY-----
Proc-Type: 4,ENCRYPTED
DEK-Info: AES-128-CBC,481AC46E02AE11033F311344B6AEFA82
XXXXXXXXXXXXXXXX
-----END RSA PRIVATE KEY-----
The text was updated successfully, but these errors were encountered: