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.

  • If your client is IPv4 only and your server is IPv6 only its not going to work. Your best bet would for your IPv4 client to use an IPv6 gateway, like the one at Hurricane Electric, to get an IPv6 address in order to access the server. – heavyd Aug 5 '15 at 0:21
up vote 4 down vote accepted

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.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.