In my case I wanted to connect to a MySQL database that my laptop was SSH’d to. # I had port forwarding in my ssh connection to fwd port 3306, the mysql port. cat ~/.ssh/config Host memsql HostName User ubuntu LocalForward 3306 127.0.0.1:3306 # on my laptop I start the ssh connection (use -N if […]