2 ms·
(Sorry if my question is stupid) why expose SSH on the internet rather than having it behind a VPN?
by forty 6y ago
(Sorry if my question is stupid) why expose SSH on the internet rather than having it behind a VPN?
- drdebug 6y agoI think SSH security is similar to that of a VPN (except for large installations where key management/revokation may be better handled by VPN tools), so for many people there's no need to use a VPN.
- forty 6y agoWell it avoids cluttering the auth logs of all the machines with failed ssh attempts, which is, from what I understand, the main benefit of moving the ssh port to a non standard one. As a side benefit, it also adds a real layer of security (ie you would have to find a vuln in both openssh and openvpn for example). Key management for SSH can actually be pretty good, you can do pretty cool short lived certificate authentication with ssh using Hashicorp Vault for example. I would still not have my VMs have public IPs, feels like asking for troubles, for no real benefits.