2 ms·
In /etc/ssh/sshd_config do: PermitRootLogin without-password That way root must use a public key to login, but other people can still use passwords. (But wat
by ars 15y ago
In /etc/ssh/sshd_config do:
PermitRootLogin without-password
That way root must use a public key to login, but other people can still use passwords.
(But watch out for sudo.)