umbrel-os icon indicating copy to clipboard operation
umbrel-os copied to clipboard

security note (ssh simple optim + fail2ban)

Open aboulaboul opened this issue 3 years ago • 0 comments

for "advanced" or paranoid user like me, a little fine tuning note on ssh, could be a good thing: 2 steps:

copying public key to umbrel

ssh-copy-id [email protected]

then configuring ssh to disable login by password

sudo nano /etc/ssh/sshd_config and then changing #PasswordAuthentication yes to PasswordAuthentication no

And maybe for those who don't want to touch this, at least installing fail2ban sudo apt install fail2ban

aboulaboul avatar Dec 02 '21 20:12 aboulaboul