【待反馈】终端报错
为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:9.4.0系统版本:debian11
问题描述:终端报错
相关截图(日志、错误):未知错误: 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, 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 "/www/server/panel/class/ssh_terminal.py", line 186, 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 "/www/server/panel/class/ssh_terminal.py", line 194, 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, 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 "/www/server/panel/class/ssh_terminal.py", line 210, in connect pkey = paramiko.DSSKey.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/dsskey.py", line 62, in __init__ self._from_private_key(file_obj, password) File "/www/server/panel/pyenv/lib/python3.7/site-packages/paramiko/dsskey.py", line 228, in _from_private_key data = self._read_private_key("DSA", 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
您好,可以到终端右上角添加你的账号信息,然后点击账号信息登录 堡塔运维南一 发表于 2025-1-15 09:29
您好,可以到终端右上角添加你的账号信息,然后点击账号信息登录
已经添加了的,但是打开终端的时候还是提示这个错误,在这个服务器列表里点的话,经常卡住或者报”协议头响应超时,与目标服务器之间的网络质量太糟糕:Error reading SSH protocol banner“,只有多点几个才偶尔能加载出来,修复和重装都没办法解决 本帖最后由 夜寐纵欲 于 2025-1-15 22:17 编辑
以上3图分别是卡住、报”协议头响应超时“,报python错误
该服务器使用的是私钥登录,且私钥已加密 无人处理,已更改安装为稳定版后恢复正常
页:
[1]