# ssh -6 fe80::2xx:xxff:fexx:xxxx ssh: connect to host fe80::2xx:xxff:fexx:xxxx port 22: Invalid argument
This is not a bug in sshd. It is arguably a bug in the ssh client.
Since any given link-local address can potentially exist on all non-loopback interfaces on a host, you need to identify which interface you are connecting to. Applications are supposed to do this by setting sin6_scope_id in the struct sockaddr_sin6 passed to connect() [RFC3493], but that requires the application to be more ipv6-aware than you get by just calling getnameinfo()
p7spALn4gCOWs.p7s
Description: S/MIME cryptographic signature