The File "/usr/act/server_ydjt/tools/python/upload py", line 108, in & lt; module>
Key=paramiko. RSAKey. From_private_key_file (key_filename, Password)
The File "/usr/lib/python2.6/site - packages/paramiko/pkey. Py", line 197, in from_private_key_file
Key=CLS (filename=filename and password=password)
The File "/usr/lib/python2.6/site - packages/paramiko/rsakey. Py", 51, the line in __init__
Self. _from_private_key_file (filename, password)
The File "/usr/lib/python2.6/site - packages/paramiko/rsakey. Py", line 164, in _from_private_key_file
Data=https://bbs.csdn.net/topics/self._read_private_key_file (RSA, filename, password)
The File "/usr/lib/python2.6/site - packages/paramiko/pkey. Py", line 279, in _read_private_key_file
Data=https://bbs.csdn.net/topics/self._read_private_key (tag, f, password)
The File "/usr/lib/python2.6/site - packages/paramiko/pkey. Py", line 319, in _read_private_key
Raise SSHException (' Unknown private key cipher "% s" '% encryption_type)
Paramiko. SSHException: Unknown private key cipher "AES - 128 - the CBC
Online solutions are said in parsing DSA secret key, is there any RSA related knowledge
CodePudding user response:
Is the key that opens the encrypted file, encryption method is AES - 128 - a CBC, paramiko default does not support, can modify the code to support AEShttps://my.oschina.net/u/4390260/blog/4293942
CodePudding user response:
Why the same report py code won't run on a different server, paramiko code and plug-in or template relies on ah?CodePudding user response:
The same data? Your encryption private key file format