Public bug reported: Have tested this successfully on other distros, used the same steps to updating /etc/ssh/sshd_config but SSH will not honor the use of ~/.ssh/authorized_keys.
Simple test mkdir -m 700 ~/.ssh cd ~/.ssh ssh-keygen -t rsa -b 4096 press enter to accept the defaults and empty passphrase cp id_rsa.pub authorized_keys ssh localhost /bin/date works mv id-rsa $(hostname -s) mv id-rsa.pub $(hostname -s).pub ssh localhost /bin/date **fails. this works on CentOS, RHEL ProblemType: Bug DistroRelease: Ubuntu 19.10 Package: openssh-server 1:8.0p1-6build1 ProcVersionSignature: Ubuntu 5.3.0-1014.16-raspi2 5.3.10 Uname: Linux 5.3.0-1014-raspi2 aarch64 ApportVersion: 2.20.11-0ubuntu8.2 Architecture: arm64 Date: Sat Jan 4 12:42:58 2020 ExecutablePath: /usr/sbin/sshd ProcEnviron: LANG=C.UTF-8 PATH=(custom, no user) SourcePackage: openssh UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: openssh (Ubuntu) Importance: Undecided Status: New ** Tags: apport-bug arm64 eoan -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1858285 Title: SSH not honoring use of ~/.ssh/authorized_keys To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1858285/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs