Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

So when doing this:

ssh -l root myKVMinstance.domain.com

i get this:

ssh: connect to host myKVMinstance.domain.com 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

1 Answer 1

Seems like the sshd process is dying on you. Try to update or reinstall it using your package manager, or download it from http://www.openssh.org/portable.html


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 xxx.xxx.xxx.xxx to see if i can spot some packet loss. Will wait and see until it happens again. –  user436118 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.