Ssh from IPv4 to IPv6

ipv4ipv6ssh

I have been trying to reach, using ssh, an IPv6 server from a IPv4 (only) client, but am having no success. Both systems run ubuntu 12.04.

I am aware that ipv4 and ipv6 are different protocols and have different stacks, but I thought that IPv6 could still cope with this using the ffff:ffff:…:ipv4 addressing.

I have already modified the sshd configuration file to make sure that it listens to both ipv6 and ipv4 on all interfaces.

Is there any way to ssh to this ipv6 host from my ipv4 client?

Every attempt produces the following message:
ssh: connect to host HOSTNAME port 22: Connection timed out

Currently, I cannot even ping the ipv6 server. But, using ipv6 ping website I know that my client is indeed up.

Best Answer

Doesn't quite work that way. They're essentially entirely separate networks at the internet layer. While there's transitional mechanisms, you'd need to explicitly set up for them.

The right way to do this is to set up a tunnel (or of course, native dualstack). One does not simply connect across from ipv4 to 6.

Related Question