【已解决】SSH启用加密密钥点击服务器页面终端报错
未知错误: 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, 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
你好,添加一下我的qq1021266737;就当前问题我检查一下看看。 本帖最后由 王冬夏 于 2021-3-1 18:26 编辑
手动添加服务器导入解密密钥就可以但是好多地方自动调用终端就会直接报错 谢谢 问题已经被客服秒破案 十分迅速 咋解决的噻?重启面板、重启服务器都试过了不行 堡塔开发wzz 发表于 2021-3-1 18:23
你好,添加一下我的qq1021266737;就当前问题我检查一下看看。
你好,方便加qq吗,请问如何解决的,我有同样的问题
页:
[1]