【待反馈】终端使用的时候报错
我们没有用python的东西,并且使用xheel或者宝塔的本地链接线上都连不上服务器,这是咋回事啊未知错误: Traceback (most recent call last):
File "/www/server/panel/class/ssh_terminal.py", line 212, in connect
self._tp.auth_publickey(username=self._user, key=pkey)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/paramiko/transport.py", line 1580, in auth_publickey
return self.auth_handler.wait_for_response(my_event)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/paramiko/auth_handler.py", line 236, in wait_for_response
raise e
File "/www/server/panel/pyenv/lib/python3.7/site-packages/paramiko/transport.py", line 2109, in run
handler(self.auth_handler, m)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/paramiko/auth_handler.py", line 298, in _parse_service_accept
sig = self.private_key.sign_ssh_data(blob)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/paramiko/dsskey.py", line 116, in sign_ssh_data
).private_key(backend=default_backend())
ValueError: q must be exactly 160, 224, or 256 bits long
未知错误: Traceback (most recent call last):
File "/www/server/panel/class/ssh_terminal.py", line 212, in connect
self._tp.auth_publickey(username=self._user, key=pkey)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/paramiko/transport.py", line 1580, in auth_publickey
return self.auth_handler.wait_for_response(my_event)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/paramiko/auth_handler.py", line 236, in wait_for_response
raise e
File "/www/server/panel/pyenv/lib/python3.7/site-packages/paramiko/transport.py", line 2109, in run
handler(self.auth_handler, m)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/paramiko/auth_handler.py", line 298, in _parse_service_accept
sig = self.private_key.sign_ssh_data(blob)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/paramiko/dsskey.py", line 116, in sign_ssh_data
).private_key(backend=default_backend())
ValueError: q must be exactly 160, 224, or 256 bits long
您好,您的面板是啥版本,什么操作系统
修复一下面板再去点开终端也是这样吗 堡塔运维南一 发表于 2024-11-25 15:14
您好,您的面板是啥版本,什么操作系统
修复一下面板再去点开终端也是这样吗 ...
Linux系统,php的代码,面板是最新版本9.2.0的,更新修复都试过了,没有用,用xshell和宝塔软件连接也连接不上终端 宝塔用户_ycsike 发表于 2024-11-26 13:50
Linux系统,php的代码,面板是最新版本9.2.0的,更新修复都试过了,没有用,用xshell和宝塔软件连接也连 ...
其他工具也连不上的话,可以检查一下ssh的服务端口有没有放行,登录用的账号密码是不是对的
不清楚的话,可以问问服务器运营商
页:
[1]