If you only want to provide ssh access to one host, sure. If you want to provide other services, on multiple hosts, then you’re either making it a jump box or a proxy, while a VPN would provide direct access (or at least as defined in the firewall and routing rules).
Comment on Any feedback from port knockers ?
lemmyvore@feddit.nl 1 year agoWhy? There’s no downside to ssh, if anything it’s easier to set up.
SheeEttin@lemmy.world 1 year ago
Morgikan@lemm.ee 1 year ago
A VPN would give you access to a network, but not necessarily the devices on that network. It adds another layer of security as the user not only has to have SSH credentials/keys, but they also have to have the same for the VPN. SSH and VPNs would really be used in conjunction with each other.