Can not ssh into server over ivp6 address - eviltoast

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.

  • JASN_DE@feddit.de
    link
    fedilink
    English
    arrow-up
    1
    ·
    11 months ago

    Hetzner

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

  • InfamousAgency6784@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    11 months 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.
  • certuna@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    11 months 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.

  • nat64dns64@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    11 months ago
    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…

    • IgnisDa@alien.topOPB
      link
      fedilink
      English
      arrow-up
      1
      ·
      11 months ago

      I did use the Hetzner console to login into the server and enabled ListenAddress ::.