Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

So when doing this:

ssh -l root

i get this:

ssh: connect to host port 22: Operation timed out

at the same time while that is happening, i am able to ping, connect to apache and tomcat, and those display what i'd expect [the test pages].

Then, after a while, the server is reachable again, as if nothing ever were.

If i was connected via ssh, it would kick me out of my session with a

"Write failed: Broken pipe" error.

I am constantly pinging that box, and i get very few packets lost, mostly a single one, and then a large amount of successfully returned ones.

Please help!

This is occuring on a KVM instance, the KVM host os remains reachable throughout the instance's "outage".

share|improve this question

Seems like the sshd process is dying on you. Try to update or reinstall it using your package manager, or download it from


yum -y update openssh-server

yum -y remove openssh-server

yum -y install openssh-server


share|improve this answer
tried that. Also trying a mtr -i 0.01 to see if i can spot some packet loss. Will wait and see until it happens again. – DLeonardi Jul 21 '12 at 2:35
Does the KVM host OS have SSH? can you connect from the host to the instance? – mik Jul 23 '12 at 18:37

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.