I have a virtual machine on linode.com that runs dual stack IPv4 and IPv6. On Sunday I upgraded to Centos 5.8 and now I cannot connect with ssh on IPv4. I get a 'connection refused' because there is no listener on the ssh port for IPv4. It appears to work just fine for IPv6, but I cannot access remotely when I am on an IPv4 only network. It appears that only sshd is affected. All other services seem to work on both v4 and v6. I have it listening on a non-standard port other than 22. I am going to try and have it listen on the standard port to see if that works. Anyone else seen this? Any recommendations on tracking this down? Thanks, Mike
Hi, I have seen this very same issue. We had the the option ListenAddress set to :: and this worked until now. We specifically had to add the option ListenAdress 0.0.0.0 to make it work again on ipv4. It must be something CentOS specific since I couldn't find any reference (in my 2 second google search) other than this issue reported on the centOS mailing list. Cheers, Maarten
Maybe Matching Threads
- --with-ipv4-default and sshd IPv4/6 dual bind hack
- sshd -p option vs ListenAddress
- sshd: listen on ip1:port1 and ip2:port2
- [Bug 2037] New: sshd Causing DNS Queries on ListenAddress when binding to IPV4 and IPV6 addresses on AIX
- Unix socket support for sshd