I know it's recommended to use a VPN with a hotel WiFi but if I'm in a hurry and don't have time to setup my own VPN server would an SSH tunnel (invoked with ssh -D) work just as well to secure my web traffic?


Yes, an SSH tunnel will provide the same confidentiality and integrity as an OpenVPN or IPSec VPN tunnel, assuming the configuration is secure. If you expect an active MITM attack, you will need to verify that the SSH fingerprint that you are seeing is correct. If you have set up the server, you should take a note of the fingerprint so you can verify that it is correct when you connect to the server.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.