12-02-2020, 03:41 PM
Another good thing to do is set your ssh port to something nonstandard and only permit key-based logins. In /etc/ssh/sshd_config:
Code:
Port 12345
PasswordAuthentication no
PubkeyAuthentication yes