IPv6 and sshd (Solved?)

Kevin Sindhu kevin at tgivan.com
Thu Jul 5 05:14:22 EST 2001


Update to my post, I have one interface working, one not;-). I get
this in the error logs:

Jul  4 11:12:14 satan sshd[31246]: error: Bind to port 22 on
3ffe:1200:3028:ff01::caa failed: Can't assign requested address.
Jul  4 11:13:49 satan sshd[7797]: error: Bind to port 22 on
3ffe:1200:3028:ff01::caa failed: Can't assign requested address.

Now this may be something I did not look at before. My tunnel broker
gave me a /64 network address which is bound to my "internal" Network
Interface which works through NAT/route6d. However if I try connecting
to the interface given by my tunnel broken it fails. Any reason why
this doesn't work?

For now, I can just change the IPv6 address in DNS to the /64 address
and it should work;-)

---------------Details--------------------------------
xl1 : Internal Interface 

xl1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        media: Ethernet autoselect (100baseTX)
        status: active
        inet 192.168.33.1 netmask 0xffffff00 broadcast 192.168.33.255
        inet6 fe80::250:daff:feb8:62f9%xl1 prefixlen 64 scopeid 0x3
        inet6 3ffe:1200:3028:8655::1 prefixlen 64

xl0 : Public interface

xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        media: Ethernet autoselect (10baseT)
        status: active
        inet6 fe80::201:2ff:fe42:94ee%xl0 prefixlen 64 scopeid 0x2
        inet 24.76.251.101 netmask 0xffffff00 broadcast 24.76.251.255

gif0: Ipv6 Tunnel

gif0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1280
        physical address inet 24.76.251.101 --> 64.71.128.26
        inet6 fe80::280:c6ff:feef:c508%gif0 -> :: prefixlen 64 scopeid
0x10
        inet6 3ffe:1200:3028:ff01::cab -> 3ffe:1200:3028:ff01::caa
prefixlen 127

Connection to xl1:
[kevin at athena kevin]$ ssh -v -6 3ffe:1200:3028:8655::1 -l kevin
OpenSSH_2.5.0, SSH protocols 1.5/2.0, OpenSSL 0x0090600f
debug: Reading configuration data /etc/ssh_config
debug: ssh_connect: getuid 1001 geteuid 0 anon 0
debug: Connecting to 3ffe:1200:3028:8655::1 [3ffe:1200:3028:8655::1]
port 22.
debug: Allocated local port 682.
debug: Connection established.
debug: identity file /home/kevin/.ssh/identity type 3
debug: identity file /home/kevin/.ssh/id_dsa type 3
debug: Remote protocol version 1.99, remote software version
OpenSSH_2.9
debug: match: OpenSSH_2.9 pat ^OpenSSH
debug: Local version string SSH-1.5-OpenSSH_2.5.0
debug: Waiting for server public key.
debug: Received server public key (768 bits) and host key (1024 bits).
The authenticity of host '3ffe:1200:3028:8655::1
(3ffe:1200:3028:8655::1)' can't
 be established.
RSA1 key fingerprint is
c2:60:be:fe:82:80:f7:fd:ff:1e:f8:4e:12:c4:c3:67.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '3ffe:1200:3028:8655::1' (RSA1) to the list
of known 
hosts.
debug: Encryption type: 3des
debug: Sent encrypted session key.
debug: Installing crc compensation attack detector.
debug: Received encrypted confirmation.
debug: Doing password authentication.
kevin at 3ffe:1200:3028:8655::1's password: 
-----------------------------------------------

--
Kevin Sindhu			<kevin at tgivan dot com>
Systems Engineer
TGI Technologies Inc.		Tel: (604) 872-6676 Ext 321
107 E 3rd Avenue		Fax: (604) 872-6601
Vancouver,BC V5T 1C7
Canada.



More information about the openssh-unix-dev mailing list