Quantcast
Channel: 枯藤昏鸦 | 未完待续
Viewing all articles
Browse latest Browse all 15

SSH Port Forwarding

0
0

The following command can be used to create a SSH Tunneling which forwards any connection to port 1234 on the local machine to port 4321 on localhost via example.com

ssh -N -L 1234:localhost:4321 -p 22 -i ~/.ssh/id_rsa username@example.com

For more information about the flags, please refer https://explainshell.com/explain?cmd=ssh+-L+-N++-f
-EOF-


Related posts:


Copyright © 2005~2011 | Permalink | 0 Comments | Close To U
订阅 Twitter Linode VPS
)

The post SSH Port Forwarding first appeared on 未完待续.


Viewing all articles
Browse latest Browse all 15

Latest Images

Trending Articles





Latest Images