[Ilugc] ssh connection: port 22 problem

  • From: knura9@xxxxxxxxx (Arun Khan)
  • Date: Fri, 1 Apr 2011 14:26:13 +0530

On Thu, Mar 31, 2011 at 6:13 PM, Tha.Suresh <jemenisuresh at gmail.com> wrote:

Since previous day i can connect to a other systems from my laptop via ssh,
but other laptop can not connect to mine.

Below is the Error, that i've got when trying to connect my system from
others:

[student at mercury ~]$ ssh suresh at 192.168.1.9
ssh: connect to host 192.168.1.9 port 22: Connection refused

As root user (or sudo in *buntu)

# netstat -nplt | egrep ":22"

list the output of above

also check if you have enabled any iptables (firewall) rules

# iptables --list

list the output of above.

-- Arun Khan

Other related posts: