I would like to create a ruby script that I can run mysql commands on a remote server through a ssh tunnel.
Right now I have a manual process to do this:
You can also try this nice ruby gem: https://github.com/progrium/localtunnel