Both are technologies for accessing remote resources using a secure channel.
VPN Base Use Case
- Some of the business’s employees may travel and frequently need to access these resources from the road. However, the business doesn’t want to expose their important resources to the public Internet.
- Instead, the business can set up a VPN server and employees on the road can connect to the company’s VPN. Once an employee is connected, their computer appears to be part of the business’s private network – they can access file shares and other network resources as if they were actually on the physical network.
SSH Base Use Case
- No different from the VPN use case
- Hides the origin – To the websites the employee accesses through the VPN, the web browsing traffic would appear to be coming from the VPN server.
- OS Level – A VPN works more at the operating system level than the application level. In other words, when you’ve set up a VPN connection, your operating system can route all network traffic through it from all applications (although this can vary from VPN to VPN, depending on how the VPN is configured). You don’t have to configure each individual application.
- Same, strong encryption as VPN
- Not at OS Level, Each App has to be configured to work separately with the SSH client.