未知错误: Traceback (most recent call last):
File "class/ssh_terminal.py", line 112, in connect
pkey = paramiko.RSAKey.from_private_key(p_file)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/paramiko/pkey.py", line 256, in from_private_key
key = cls(file_obj=file_obj, password=password)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/paramiko/rsakey.py", line 52, in __init__
self._from_private_key(file_obj, password)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/paramiko/rsakey.py", line 179, in _from_private_key
data = self._read_private_key("RSA", file_obj, password)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/paramiko/pkey.py", line 337, in _read_private_key
data = self._read_private_key_openssh(lines[start:end], password)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/paramiko/pkey.py", line 439, in _read_private_key_openssh
"private key file is encrypted"
paramiko.ssh_exception.PasswordRequiredException: private key file is encrypted
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "class/ssh_terminal.py", line 116, in connect
pkey = paramiko.Ed25519Key.from_private_key(p_file)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/paramiko/pkey.py", line 256, in from_private_key
key = cls(file_obj=file_obj, password=password)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/paramiko/ed25519key.py", line 63, in __init__
signing_key = self._parse_signing_key_data(data, password)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/paramiko/ed25519key.py", line 97, in _parse_signing_key_data
"Private key file is encrypted"
paramiko.ssh_exception.PasswordRequiredException: Private key file is encrypted
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "class/ssh_terminal.py", line 120, in connect
pkey = paramiko.ECDSAKey.from_private_key(p_file)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/paramiko/pkey.py", line 256, in from_private_key
key = cls(file_obj=file_obj, password=password)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/paramiko/ecdsakey.py", line 123, in __init__
self._from_private_key(file_obj, password)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/paramiko/ecdsakey.py", line 282, in _from_private_key
data = self._read_private_key("EC", file_obj, passwo
|
|