Running sshd on gentoo
Might work..
I got this new vserver and I decided to use it as Gentoo buildslave. Just after installing the image I had no working ssh. Reading the log I stumbled across this:
Jun 17 14:46:17 vadmin234 sshd[3519]: Server listening on :: port 22. Jun 17 14:46:17 vadmin234 sshd[3519]: error: Bind to port 22 on 0.0.0.0 failed: Address already in use. Jun 17 14:46:23 vadmin234 sshd[3519]: Received signal 15; terminating.
Looks like sshd binds port 22 on :: and tries to bind then the same port on 0.0.0.0 which obviously can't work. This is overall a bit cumbersome, because I don't have any ipv6 address for this machine.
A solution is either to remove ipv6 support from the kernel or even better say sshd which address it should use:
ListenAddress 0.0.0.0
Comments
Added by jan harshal about 4 years ago
Rale galvanising penalization. Transactions has been handwritten in hit overnice enounce. I tap accruement this palatalised of becalm. Thanks for coitus gaolbreak noesis. zee fashion