2 ms·
The trick is to never assume that anything you're running is secure. Because nothing ever is these days. So the usual rules apply: (1) have a firewall with onl
by threeseed 10y ago
The trick is to never assume that anything you're running is secure. Because nothing ever is these days.
So the usual rules apply: (1) have a firewall with only the bare minimum ports open, (2) make sure everything you are running is on unusual ports especially SSH, (3) VPN, jump hosts or port knocking if you need remote access, (4) use something like Fail2Ban or Sentry.
- semi-extrinsic 10y agoOnly allow SSH login using keys, never passwords.
- angry_octet 10y agoThe unusual ports thing is just a total waste of time. If someone wants in they are not going to brute force your ssh password over the network unless you've use stupidly simple passwords. They might get a targeted attack via reused passwords, which an unusual port won't stop either. If you can't control that then use 2FA or force use of ssh keys.