ssh: connect to host xxx.xxx.xxx.xxx port 22: Connection refused

Posted by Umair Mustafa on Ask Ubuntu See other posts from Ask Ubuntu or by Umair Mustafa
Published on 2012-11-04T14:15:55Z Indexed on 2012/11/06 17:22 UTC
Read the original article Hit count: 346

Filed under:
|

Well im trying to connect to a client machine using ssh using this command

ssh root@ip-of-server

It immediately slaps me with this error

ssh: connect to host xxx.xxx.xxx.xxx port 22: Connection refused

Then I tried to access a local server using same command it worked.

For further experiment I tried to do

ssh [email protected]

It displayed the same error

Whats wrong here. Any suggestion

© Ask Ubuntu or respective owner

Related posts about 12.04

Related posts about ssh