Paramiko Error: Error reading SSH protocol banner

后端 未结 2 732
孤城傲影
孤城傲影 2020-12-30 14:16

I\'m using Fabric for my build script. I just cloned one of my VMs and created a new server. The Fabric script (which uses paramiko underneath) works fine one server but not

相关标签:
2条回答
  • 2020-12-30 14:45

    Try changing the banner timeout from 15 seconds to 30 secs in the transport.py file. Also, it could be that the sshd daemon on the server is hung. Can you SSH into it manually?

    0 讨论(0)
  • 2020-12-30 14:54

    This issue didn't lie with Paramiko, Fabric or the SSH daemon. It was simply a firewall configuration in ISPs internal network. For some reason, they don't allow communication between different subnets of theirs.

    We couldn't really fix the firewall configuration so instead we switched all our IPs to be on the same subnet.

    0 讨论(0)
提交回复
热议问题