i can connect to public ipv6 just fine under Linux & CrOS. using
vap...@wh0rd.org with -6:
======================================================================
Connecting to vap...@wh0rd.org...
Loading NaCl plugin... done.
The authenticity of host '
wh0rd.org (2001:41c8:1:4f39::10)' can't be
established.
ECDSA key fingerprint is 0c:fa:1a:33:96:e2:c1:39:03:ef:e2:02:b0:78:da:5e.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '
wh0rd.org' (ECDSA) to the list of known hosts.
vap...@wh0rd.org's password:
Last login: Tue Oct 21 14:36:01 2014 from 2620:15c:6:30:a9a4:d3c7:3543:fd11
No Sockets found in /home/vapier/.screen.
vapier@wh0rd 0:0 ~ $ env | grep SSH
SSH_CLIENT=2620:0:1004:2:c5d:9348:bd6:f69a 58719 22
SSH_TTY=/dev/pts/0
SSH_CONNECTION=2620:0:1004:2:c5d:9348:bd6:f69a 58719 2001:41c8:1:4f39::10 22
======================================================================
i can also connect to localhost6 just fine:
======================================================================
Connecting to vapier@::1...
Loading NaCl plugin... done.
The authenticity of host '::1 (::1)' can't be established.
RSA key fingerprint is dd:25:e9:d6:19:1f:2f:03:ea:3a:8d:22:cf:9e:bd:05.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '::1' (RSA) to the list of known hosts.
Password:
======================================================================
my linux system works w/link ipv6 addrs:
======================================================================
$ ip addr show em1 scope link
2: em1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
state UP group default qlen 1000
link/ether ac:16:2d:07:50:1b brd ff:ff:ff:ff:ff:ff
inet6 fe80::ae16:2dff:fe07:501b/64 scope link
valid_lft forever preferred_lft forever
$ nc -6 -vvv fe80::ae16:2dff:fe07:501b%em1 22
Connection to fe80::ae16:2dff:fe07:501b%em1 22 port [tcp/ssh] succeeded!
SSH-2.0-OpenSSH_6.6.1
======================================================================
however, connecting via SecureShell fails:
======================================================================
Connecting to vapier@fe80::ae16:2dff:fe07:501b%em1...
Loading NaCl plugin... done.
ssh: connect to host fe80::ae16:2dff:fe07:501b%em1 port 22: Connection refused
NaCl plugin exited with status code 255.
(R)econnect, (C)hoose another connection, or E(x)it?
======================================================================
my guess is the simple network library we're linking SecureShell
against does not process the %zone-index syntax properly:
http://en.wikipedia.org/wiki/IPv6_address#Link-local_addresses_and_zone_indices
-mike