I was following this guide to set up SSH authentication with keys, but after following all the steps if I try to login the server still asks for my password.
So I went to check /etc/ssh/sshd_config as the guide recommends, and these two:
Were commented out, so I enabled them.
Unfortunately the login still didn’t work and when checking sudo tail -f /var/log/auth.log I just got:
rexec line 38: Deprecated option RSAAuthentication
Is there an up-to-date guide on how to login via SSH with a key?
These are my sshd_config settings https://pastebin.com/Y4W9Vmtk
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS