on both systems
get your selinux dissabled
after iptables -F do a service iptables save
check if ssh is enabled on machine
check for /etc/hosts.allow and /etc/hosts.deny

On Thu, Mar 31, 2011 at 6:13 PM, Tha.Suresh <[email protected]> wrote:

> Hi friends,
>
> 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@mercury ~]$ ssh [email protected]
> ssh: connect to host 192.168.1.9 port 22: Connection refused
>
>  i tried to connect to localhost, i got the same Error:
>
> [suresh@mercury ~]$ ssh me@localhost
> ssh: connect to host localhost port 22: Connection refused
>
> I tried many ways like,
>  $ /etc/init.d/sshd start
>  $ /etc/ssh/ssh_config
>  $ iptables -F
>
> I don't know how to resolve this problem.Sugesst me to solve this problem.
>
> Thanks in advance.
>
>
>
>
>
> --
> Regards,
> Tha.Suresh
>
> Cooool Linux Tips & Tricks,
> http://gnutips.wordpress.com
>
> My experiences with Linux are here,
> http://thasulinux.wordpress.com
>
>  --
> LUG@IITD - http://lug-iitd.org/Footer
>

-- 
LUG@IITD - http://lug-iitd.org/Footer

Reply via email to