On Fri, 22 Oct 2004 11:32:55 -0700, Chris Marshall wrote:
> I am running slack9.1 on two linux boxes and I was able to use ping6
> to ping one from the other across an ethernet LAN successfully.
>
> I was also able to "ssh -6 -l user ::1" on each box to the sshd
> running on the same box, but I can't ssh -6 from one box to the other.
>
> The ssh command report the error "invalid argument"
>
> When I run the ssh command under strace to see which system call is
> failing, it turns out to be a call to connect(). It seems that some
> glibc routines refuse to parse inet6 addresses?
>
> On each box, I ran these commands:
>
> insmod ipv6
> /etc/rc.d/rc.sshd restart
> ifconfig eth0
>
> The last was to get the automatically assigned ipv6 link address on
> each machine.
It probably only got a fe80:: (link-local) address. fe80:: are not
routable, and you probably have to specify the scope (in this case the
interface name) to get it working. So, fe80:<fill in>%eth0. But generally
speaking it is a very good idea to assign at least a site-local address to
the interface (site-local functions comparable to 192.168.0.0/255.255.0.0
in IPv4). Site-local addresses start with fec0::. An example of how to set
this up can be found in :
http://www.linuxpackages.net/howto/s...netconfig.html
It will probably work without a hassle if both interfaces have a
site-local address.
-- Daniel