Both VPN and SSH allow network traffic over a secure connection. They have similar points but also having different points. I am wondering what technique to use and which technology is more secure? why?
I am new out here, but reading the forum actively makes me be able to give you some answers, I believe.
Both add extra layers of security but VPN allows you to force the traffic on network by using it.
The thing is that VPN is more complex for new users when setting it up but it is easy to connect to it, while SSH is other way around.
So, I would say VPN but would like to hear out more opinions about this.
VPNs are a lot better at handling tunneling your traffic into a private network, or tunneling traffic between two private networks. It can certainly be done with SSH tunnels, but it's a lot harder to do.
SSH is good for simple tasks. VPN allows for a more managed security environment. However the complicatedness of VPN itself may actually open up security holes. SSH may also be used in combination with VPN. It really depends on the needs of the company.