Port Forwarding

If you need to access the MySQL server from another location, we recommend using ssh port forwarding on shell. Once the tunnel is established, your MySQL client will be able to connect to 127.0.0.1 port 3306 and be able to access the MySQL server.

Linux (via SSH)

ssh -L 3306:mysql.aero.und.edu:3306 username@shell.cs.und.edu

Windows

Windows users can use the PuTTY dialog Connection→SSH→Tunnels.

  1. Enter 3306 for the source port
  2. Enter mysql.aero.und.nodak.edu:3306 as the destination
  3. Log into shell.aero.und.edu

resource/mysql/port-forwarding.txt · Last modified: 2007/07/26 12:00 by akuelbs