[CentOS] sshd won't bind to tun0

Nataraj incoming-centos at rjl.com
Wed Feb 11 04:56:30 UTC 2009


On Wed, 2009-02-11 at 12:14 +0800, Fajar Priyanto wrote:
> On Wed, Feb 11, 2009 at 11:58 AM, Nataraj <incoming-centos at rjl.com> wrote:
> > Are you specifying the ListenAddress in /etc/sshd/sshd_config?  The
> > default is to bind using a wild card which should pick up any interface.
> > What does your output from "netstat -l" look like?
> > On my vpn server, the listen for ssh looks like this:
> >
> > Proto Recv-Q Send-Q Local Address               Foreign Address             State
> > tcp        0      0 *:ssh                       *:*                         LISTEN
> 
> Hi Nataraj,
> sshd is not specified to listen on certain address, I assume it means
> it listen to all address and inteface, right?
> I have this from netstat -patune:
> tcp        0      0 :::22                       :::*
>      LISTEN      0
> 
> Well, AT FIRST, sshd listens on tun0.
> It is AFTER tun0 is RESTARTED that sshd refuses to bind to tun0.

That listen looks like IPV6.  Is that what your using?

Nataraj

> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos




More information about the CentOS mailing list