Re: Debian and IPV6
Mark,
Thanks for the reply. I tried your suggestion of adding the -- -6
option to the start-stop-daemon lines in /etc/init.d/ssh. I then
tried to connect to the host with ssh and ssh -6. Both attempts succeded,
as shown in the subsequent netstat -A inet6 -an
Script started on Sun Dec 29 09:38:04 2002
p90:/home/russ# netstat -A inet6 -an
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 :::80 :::* LISTEN
tcp 0 0 :::22 :::* LISTEN
tcp 0 0 ::ffff:192.168.1.1:22 ::ffff:192.168.1.2:3238 ESTABLISHED
tcp 0 0 3ffe:b80:1853:1:250::22 3ffe:b80:1853:1:25:3239 ESTABLISHED
p90:/home/russ# exit
Script done on Sun Dec 29 09:38:19 2002
It represents my IPv4 connection with a IPv6 style address, however.
Does this imply that both connections are actually ip6 connections?
Would you mind sending me the sample lines from your sshd_config file
where you configured two listening lines with explicit addresses?
Thanks,
Russ
On Sat, 28 Dec 2002, Mark Zimmerman wrote:
> On Sat, Dec 28, 2002 at 08:40:48PM -0600, Russ Cook wrote:
> > netstat -A inet6 -an results in the following
> > Proto Recv-Q Send-Q Local Address Foreign Address State
> > tcp 0 0 :::80 :::* LISTEN
> >
>
> This shows that sshd is not listening to port 22 of an ipv6 address.
>
> If you add '-- -6' to the end of the start-stop-daemon lines in
> /etc/init.d/ssh, and then restart it, it should start listening to
> your ipv6 address. It might, stop listening to ipv4 though, so try it
> and see.
>
> Another thing to try is to put actual addresses in the ListenAddress
> lines of sshd_config (and uncomment them). You can use multiple lines,
> one for v4 and one for v6. This is how I have it set up on my OpenBSD
> box which accepts ssh connections in both v4 and v6.
>
> -- Mark
>
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>
Reply to: