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 !

Click to rate this post!
[Total: 0 Average: 0]

Published in Linux的

Comments

发表评论

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据