Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Also, move sshd to a random & rarely-used TCP port. Won't help much against a skilled & determined targeted attack, however the "security through obscurity" is not entirely worthless. Using something other than 22 is quite effective at avoiding spray-n-pray scans and exploits.

For extra credit, set up port knocking.



Choosing to only bind SSH to a VPN interface is another option. If you can utilize a VPN that incorporates 2FA then that's even better. Projects such as zerotier are going a long way towards making this kind of thing easier to setup.


Then the VPN breaks, and you're out of luck.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: