On Wed, Feb 11, 2009 at 11:58 AM, Nataraj incoming-centos@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.