Closed opsarno closed 2 months ago
我也遇到同样的错误
请问你们解决了吗 我也有这个问题
我也遇到了同样的问题,但可以正常使用。我的版本是1.4.0, @ibuler 请问在1.4.0里怎么修复这个问题。
我的1.4.4页遇见同样的问题了,请问如何解决?
2018-12-27 12:03:51 [transport ERROR] paramiko.ssh_exception.SSHException: Error reading SSH protocol banner 2018-12-27 12:03:51 [transport ERROR] 2018-12-27 12:44:07 [transport ERROR] Exception: Error reading SSH protocol banner 2018-12-27 12:44:07 [transport ERROR] Traceback (most recent call last): 2018-12-27 12:44:07 [transport ERROR] File "/opt/py3/lib64/python3.6/site-packages/paramiko/transport.py", line 2044, in _check_banner 2018-12-27 12:44:07 [transport ERROR] buf = self.packetizer.readline(timeout) 2018-12-27 12:44:07 [transport ERROR] File "/opt/py3/lib64/python3.6/site-packages/paramiko/packet.py", line 353, in readline 2018-12-27 12:44:07 [transport ERROR] buf += self._read_timeout(timeout) 2018-12-27 12:44:07 [transport ERROR] File "/opt/py3/lib64/python3.6/site-packages/paramiko/packet.py", line 542, in _read_timeout 2018-12-27 12:44:07 [transport ERROR] raise EOFError() 2018-12-27 12:44:07 [transport ERROR] EOFError 2018-12-27 12:44:07 [transport ERROR] 2018-12-27 12:44:07 [transport ERROR] During handling of the above exception, another exception occurred: 2018-12-27 12:44:07 [transport ERROR] 2018-12-27 12:44:07 [transport ERROR] Traceback (most recent call last): 2018-12-27 12:44:07 [transport ERROR] File "/opt/py3/lib64/python3.6/site-packages/paramiko/transport.py", line 1893, in run 2018-12-27 12:44:07 [transport ERROR] self._check_banner() 2018-12-27 12:44:07 [transport ERROR] File "/opt/py3/lib64/python3.6/site-packages/paramiko/transport.py", line 2049, in _check_banner 2018-12-27 12:44:07 [transport ERROR] 'Error reading SSH protocol banner' + str(e) 2018-12-27 12:44:07 [transport ERROR] paramiko.ssh_exception.SSHException: Error reading SSH protocol banner 2018-12-27 12:44:07 [transport ERROR] 2018-12-27 12:53:44 [transport ERROR] Socket exception: Connection timed out (110)
这个错误好像是连接超时了,我有一些机器网络不好,连接到4.5s就超时报错了,测试连接没有问题,修改 conf.py 里的SSH_TIMEOUT 也没有任何用,其他网络好的机器就一点问题没有。 也有可能是登陆权限问题,我把系统用户都推送一遍就可以登陆了。可能是目标机器上没有对应的系统用户,现在显示的错误和之前版本的不一样了。
我这里使用网关的机器都遇到了这个问题
日志中的报错
这个错误是什么导致的呢?