On Wed, 2009-02-11 at 11:25 +0800, Fajar Priyanto wrote:
Hi all, I have a strange situation. I have a machine connected to an AT&T VPN. Sometimes the VPN gets disconnected, so I create a cronjob to restart the VPN client when it happens: Problem is: sshd seem doesn't want to bind to tun0. I restart ssh, network, no good. Anyone has any clue? So strange. Thank you.
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
Nataraj
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos