Posted By

endorfin on 12/12/08


Tagged

mysql ssh tunnel


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

jamesming


SSH tunnel with local port forwarding (MySQL)


 / Published in: Bash
 

URL: http://codesnippets.joyent.com/posts/show/995

  1. ssh -2 -f -C -N remoteuser@remoteserver.com -L 3307/127.0.0.1/3306
  2.  
  3. localport/localip/remoteport

Report this snippet  

You need to login to post a comment.