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:

https://imgur.com/a/mx1hzCU

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.

all 5 comments

sorted by: hot top controversial new old
[–] [B] 1 point 2 years ago
  1. You need to make sure you have IPv6 access to the internet from your computer.
  2. In properly configured Linux boxes, your suffix might not be ::1.
  • source
  • [–] 1 point 2 years ago

    Hetzner

    Use the web console and check which IP the machine actually has.

  • source
  • [–] [B] 1 point 2 years ago

    2a01:4ff:1f0:c2f8::/64 is the whole subnet, your server will have one (or more) addresses in that subnet. This could be 2a01:4ff:1f0:c2f8::1, but could also be a randomly generated suffix.

  • source
  • [–] [B] 1 point 2 years ago (1 child)
    1. Your client needs to be IPv6-enabled
    2. 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...

  • source
  • hideshow 1 child comment