SSH tunnel with local port forwarding (MySQL)


/ Published in: Bash
Save to your folder(s)



Copy this code and paste it in your HTML
  1. ssh -2 -f -C -N remoteuser@remoteserver.com -L 3307/127.0.0.1/3306
  2.  
  3. localport/localip/remoteport

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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.