3 ms·
You might want to consider using port knocking[1] to make your ssh server even less susceptible to attack. [1] - https://en.wikipedia.org/wiki/Port_knocking ht
by pmoriarty 9y ago
You might want to consider using port knocking[1] to make your ssh server even less susceptible to attack.
[1] - https://en.wikipedia.org/wiki/Port_knocking https://en.wikipedia.org/wiki/Port_knocking
- semi-extrinsic 9y agoNo, the best solution is to only allow login by SSH keys. No passwords => brute-forcing is impossible. So your threat model for someone gaining access no longer includes someone using weak passwords.
- pmoriarty 9y agoIf your ssh port is wide open and there's a remotely exploitable vulnerability, then using keys may not save you. But there's no reason you couldn't use both keys and port knocking at the same time.