[CentOS] sshd won't bind to tun0

Wed Feb 11 04:14:23 UTC 2009
Fajar Priyanto <fajarpri at arinet.org>

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.