linux - SSH tunnel

访问量: 161

参考: https://www.ssh.com/academy/ssh/tunneling/example

In OpenSSH, local port forwarding is configured using the -L option:

ssh -L 80:intra.example.com:80 gw.example.com

This example opens a connection to the gw.example.com jump server, and forwards any connection to port 80 on the local machine to port 80 on intra.example.com.

订阅/RSS Feed

Subscribe

分类/category