Information Security Stack Exchange is a question and answer site for information security professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The Dangers of Open Wi-Fi

How does one go about sending valuable information (for example inputting email username and password) over a free password-less public WiFi network?

The only option that I can think of is ssh-in into a secure server and home and using it as a proxy for all communication. Is this valid and practical approach?

share|improve this question
I think… is relevant to your question – Ali Ahmad Jun 17 '13 at 10:53
Just a reminder that your browser isn't the only thing hitting the network. Be sure to configure your email client to use secure connections as well. – Chris Nava Jun 18 '13 at 3:23
For a description of the threats going with using public WiFi (including when using SSL): What are potential security risks when using an insecure wireless connection?. – WhiteWinterWolf Jan 24 at 14:45

Using valid SSL/TLS connection by making sure you're always connecting to the https:// version of the website and that the browser isn't giving you any warnings or errors, is your first line of defence. An addon called HTTPS Everywhere can be very helpful here.

The approach you're proposing (SSH to your trusted network) is a very standard approach. I use it everyday to connect from any network in the street/restaurant/cafe using a small app called SSH Tunnel from my mobile or using any SSH client on my computer.

Important note: Always make sure you're connecting to your server by watching for fingerprint acceptance prompts and making sure you're accepting your server's fingerprint.

share|improve this answer
Downvoter, if you please could help me make this answer better and tell me where I went wrong, that would be great. – Adi Jun 17 '13 at 13:37
Your answer is nice and much better formulated and formatted than mine but you did a really smilar answer like mine :( – Hidden Jun 17 '13 at 14:09
@Polymorphin I believe I've added more useful and relevant information regarding MiTM attacks by bringing the OP's attention to certificate warnings and SSH fingerprints, which is a very important matter when using open untrusted networks. Regardless, a downvote usually means that you think the answer is useless, doesn't answer the question, or incorrect. Although you have the right to downvote for any reason you like, you'll find it that you'll be more respected if you follow the unwritten and unenforced "rules" of voting in StackExchange. – Adi Jun 17 '13 at 14:15
Ok, Adnan. I felt a little bit robbed but i will remove the downvote. You have to edit it. Cant remove it until u edited it. – Hidden Jun 17 '13 at 14:18
Which differences there are between SSH Tunnel and setting up a VPN? – Ay0 Jun 18 '13 at 21:34

Have your own VPN. Connect to a public wireless network, then begin a VPN session to your server / home server, then you can navigate with some level of privacy as if you where on your home.

share|improve this answer
Or, use a paid service of your choice and trust, to avoid the hassle of having your own VPN. – Marcel Nov 18 '14 at 6:36

I have thought about this topic in the past and prepared five options for dealing with open wireless. I ranked them 1-5, with 1 being the most preferred.

  1. Don't use open APs
  2. Don't "remember this network" for open APs or "Forget this network"
  3. Use a SSH Tunnel, an IPSEC VPN, or a SSL VPN back to a known safe area, so MITM will fail
  4. Use SSL Everywhere and HSTS (HTTP Strict Transport Security), and only browse to websites that have SSL sites (Facebook just did this, etc.). Make sure that your browser actually validates certificates so you can't be SSL/TLS MITM'd.
  5. Have the first open AP be "Hacking detected" or something like that. If you do this and attach to a rogue AP like a WiFi Pineapple, it will be more obvious.

Just to detail number 2 a little bit, the reason why you want to forget open APs is the same reason why number 5 works well as a protection mechanism. You need to control your probe requests, and protect yourself from rogue APs.

share|improve this answer

Watch out that you are surfing possible only on pages that support SSL. There is for example a plugin for Google Chrome / Firefox you can force a SSL connection.

Its called HTTPS eveywhere.

Download links:



Another option would be to use a VPN and establish a tunneled connection.

And my favorite option is to surf via remote desktop on a windows server.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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