Can not ssh into server over ivp6 address reddit / selfhosted ---------------------------------------------------------------------- IgnisDa · 2023-11-29 15:56 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`. ---------------------------------------------------------------------- InfamousAgency6784 · 2023-11-29 16:32 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`. ---------------------------------------------------------------------- IgnisDa · 2023-11-29 16:43 Thanks, you are right. I updated my post. ---------------------------------------------------------------------- certuna · 2023-11-29 17:31 `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 · 2023-11-29 22:21 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 · 2023-11-29 23:39 I did use the Hetzner console to login into the server and enabled ListenAddress ::. ---------------------------------------------------------------------- nat64dns64 · 2023-11-30 16:25 The /etc/ssh/sshd\_config file usually controls that, and the required line is either: for IPv4 + IPv6: AddressFamily any or for IPv6 only: AddressFamily inet6 After changing that, you'll need to reload/restart the sshd.