为了能快速了解并处理您的问题,请提供以下基础信息: 问题描述:在面板里打开终端提示未知错误: Traceback (most recent call last):已经尝试过卸载 paramiko 插件重新安装、btpip install paramiko -I、升级到了最新的bt系统、重启啥的 能搜到的都试过了还是不行
相关截图(日志、错误): 未知错误: Traceback (most recent call last): File "/www/server/panel/class/ssh_terminal.py", line 178, 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:
|
|