How to connect on a remote service as if it is existed on your localhost
ssh -L <The New Port on your machine>:localhost:<The original port on the remote machine> <Remote machine user name>@<The remote machine>
Example for sql on a linux machine on port 1433:
ssh -L 1433:localhost:1433 username@my-linux-machine
http://blog.trackets.com/2014/05/17/ssh-tunnel-local-and-remote-port-forwarding-explained-with-examples.html
No comments:
Post a Comment