Re: IPv6 support
In article <[🔎] 5bg03jg5gr.fsf@chiark.greenend.org.uk> (at 02 Mar 2002 00:48:20 +0000), Matthew Vernon <matthew@debian.org> says:
> Mar 2 00:40:07 ming sshd[23005]: Server listening on :: port 22.
> Mar 2 00:40:07 ming sshd[23005]: error: Bind to port 22 on 0.0.0.0
> failed: Address already in use.
>
> This error goes away when I roll back to the previous version I
> uploaded.
>
> Any ideas? I want this to work before I upload it...
If you didn't get "Cannot bind any address.", don't worry about the message;
please assume "error: Bind to port 22 on 0.0.0.0" itself warning,
not an error.
It bound ipv6 and failed to bind ipv4.
Ipv6 socket will also get ipv4 connections via ipv6 socket.
BTW, you cannot use sshd listening on ipv6 with glibc-2.2 on
linux-2.2.x kernel.
If you don't accept this, specifty
ListenAddress 0.0.0.0
#ListenAddress ::
on /etc/ssh/sshd_config file by default.
--
Hideaki YOSHIFUJI @ USAGI Project <yoshfuji@linux-ipv6.org>
GPG FP: 9022 65EB 1ECF 3AD1 0BDF 80D8 4807 F894 E062 0EEA
Reply to: