I am trying to tunnel mysql queries to a remote server. I am using SSH2 and MYSQL2 packages on Node.JS. I tried to adapt the sample code mentioned in another question here.