Re: [Hampshire] unable to connect from one system to another…

Top Page

Reply to this message
Author: Kelly Dunlop
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] unable to connect from one system to another using ssh
On Tue, Feb 16, 2010 at 04:56:07PM +0000, john lewis wrote:
> On Tue, 16 Feb 2010 14:23:31 +0000
> Kelly Dunlop <kelly@???> wrote:
>
> I get
>
> tcp6    0    0 :::22        :::*     LISTEN

>
> on benden and
>
> tcp    0    0 0.0.0.0:22    0.0.0.0:*     LISTEN

>
> on landing



Well at this point I was about to say that you only had IPv6 running on benden
but then you added in the next message

> woops!
>
> I missed the first line
>
> tcp    0      0 0.0.0.0:22      0.0.0.0:*       LISTEN


so that shows you are LISTENing on port 22 which is correct.


> > Then:
> >
> >     ps -ef | grep sshd

> >
> > just to check that sshd is running.
>
> benden:~# ps -ef | grep sshd
> root      5557     1  0 Feb15 ?        00:00:00 /usr/sbin/sshd
> root     12597 17238  0 16:49 pts/2    00:00:00 grep sshd



benden is the one we're interested in because that's where the daemon is running
and yes you are running sshd.

At this point I have to say I'd be thinking firewalls but I don't know the setup
on debian - actually I don't really know the setup on anything other than it's
iptables that sets rules up.

So over to someone else. Just thought I should reply and let you know that you
appear to be running sshd ok and listening on the right ports.

Kelly


Hope you enjoyed the sea bass :-)

--
Kelly Dunlop
kelly@???