Install your public key into the machine ssh-copy-id [-i [identity_file]] [user@]machine Link to a port in your machine $ ssh -f -N -L 9471:127.0.0.1:3306 user@db-machine.org.gov # -f ssh in background # -N not executing a command