Cover Image for Beware of 3306 SSH Tunnels

Beware of 3306 SSH Tunnels

Using an application like Putty or MobaTerm to manage your SSH Tunnels can make things a lot easier for you especially if you need to open one over and over again for your work.

Do not choose 3306 for the local port to connect the tunnel to

If you do this and forget to close the tunnel, you may inadvertently connect another client to thinking that you are going to be effecting a local database, while in reality you are effecting a production database.

Simply choose a port that you would never "accidentally" connect to, and even if you leave the tunnel open you won't inadvertently connect to a production service.

Putty SSH connection example