ssh:connection timed out

Posted by user1155299 on Ask Ubuntu See other posts from Ask Ubuntu or by user1155299
Published on 2012-04-18T00:00:36Z Indexed on 2012/10/04 3:53 UTC
Read the original article Hit count: 158

Filed under:
|

I am trying the following command on ubuntu

ssh [email protected]

and I get the following error:

ssh: connect to host xx.xx.xxx.xxx port 22: Connection timed out

so, I tried the following:

telnet xx.xx.xxx.xxx 22xx

and I got the following message:

Trying xx.xx.xxx.xxx...
Connected to xx.xx.xxx.xxx.
Escape character is '^]'.
SSH-2.0-OpenSSH_5.5
Connection closed by foreign host.

Can anyone help me understand what the problem is and how I can fix it.

© Ask Ubuntu or respective owner

Related posts about bash

Related posts about ssh