Skip to content →

Linux-commands: ssh tunneling remote server to localhost

To start a ssh tunnel from some machine ports 80 to your localhost port 2001 use the following syntax:

ssh -N -L 2001:localhost:80  somemachine

Enjoy !

[Total: 0    Average: 0/5]

Published in Linux & Unix

Comments

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: