我们没有用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
|
|