I provisioned a machine on Hetzner Cloud. All default settings except Networking where I chose ONLY IPv6. Added an SSH key too.
When I try to connect over ssh, I get the following error:
The public address given by hetzner was 2a01:4ff:1f0:c2f8::/64
, but I saw online that I have to replace the /64
with 1
.
You must log in or # to comment.
- You need to make sure you have IPv6 access to the internet from your computer.
- In properly configured Linux boxes, your suffix might not be
::1
.
Hetzner
Use the web console and check which IP the machine actually has.
2a01:4ff:1f0:c2f8::/64
is the whole subnet, your server will have one (or more) addresses in that subnet. This could be2a01:4ff:1f0:c2f8::1
, but could also be a randomly generated suffix.- Your client needs to be IPv6-enabled
- Your client needs to be able to reach the target server via tcp/22
All this presumes that your sshd is even listening on IPv6…
I did use the Hetzner console to login into the server and enabled ListenAddress ::.