net-ssh / net-ssh

Pure Ruby implementation of an SSH (protocol 2) client
http://net-ssh.github.io/net-ssh
MIT License
982 stars 445 forks source link

timeout during server version negotiating with KVM guests #373

Closed jayshah11 closed 8 years ago

jayshah11 commented 8 years ago

I am using serverspec in the ssh mode to ssh into a server from a central server and run a few commands. I execute serverspec via cron on a central server

Every few days, I get the message "host is not reachable: timeout during server version negotiating". But the host is reachable and works fine and I can run the test manually just fine. The ssh versions are the same as well.

Has someone come across such issue and may be have a solution for it?

mfazekas commented 8 years ago

There is not much we can do if we cannot reproduce the issue, or don't have server logs/tcp dump to debug it... It can be a network issue, or the host is being restarted.