Security 1
- Find why SSH says Permission denied (publickey)
Read ssh -v to see which key was offered, then use the sshd log lines (Authentication refused, Failed publickey) to find permission, user or key-line problems.
Ubuntu 24.04 · OpenSSH 9.6p1 (reproduced with a separate sshd)