当前位置:网站首页>shell(38) : ssh端口转发
shell(38) : ssh端口转发
2022-07-27 00:16:00 【Lxinccode】
参考 : Mac 终端/Iterm通过跳板机转发端口_CS滴恩社区区草的博客-CSDN博客_mac 跳板机
注 : 当前示例为二层跳板机,需要一层一层登录才能访问最后的机器
1=> 本机
本机需要访问[192.168.3.1]提供的服务,需要在[192.168.1.1]机器做端口转发,把[192.168.3.1]的端口转发到本地端口,命令如下
[192.168.1.1]
ssh [email protected] -L 192.168.1.1:8080:192.168.3.1:8080 -N本机访问 : [192.168.1.1:8080]
边栏推荐
- Arduino UNO +74HC164流水灯示例
- 数据库读写分离和分库分表
- c语言:深度学习递归
- Manually build ABP framework from 0 -abp official complete solution and manually build simplified solution practice
- LeetCode刷题——NO.238——除自身以外数组的乘积
- 次轮Okaleido Tiger即将登录Binance NFT,引发社区热议
- Inftnews | ggac and China Aerospace ases exclusively produce "China 2065 Collection Edition"
- As for the pit saved by serialized variables, the data added with indexer cannot be serialized
- F8 catch traffic, F9 catch rabbits, f10turttle
- Functions of libraries and Archives
猜你喜欢
随机推荐
红宝书第四版的一个错误?
Rust Web(一)—— 自建TCP Server
Which securities firm is safer to open an account and buy REITs funds?
Cs224w fall course - --- 1.1 why graphs?
Plato Farm全新玩法,套利ePLATO稳获超高收益
Okaleido tiger logged into binance NFT on July 27, and has achieved good results in the first round
Heisei thousand words (Heisei, September 10, 2012) (Shidu Mingzuo) the universe is far away, the Milky way is permanent, the sun and moon are running disorderly, the earth is open, the seasons shift,
CS224W fall 1.2 Applications of Graph ML
Basic theoretical knowledge of software testing - concept
贪心——376. 摆动序列
[Li Kou] 1859. Sort sentences
Manually build ABP framework from 0 -abp official complete solution and manually build simplified solution practice
Arduino UNO +74HC164流水灯示例
Mysql 5.7 取分组第一条
iNFTnews | “流量+体验”白衬e数字时装节引领数字时装新变迁
基于GoLang实现API短信网关
Arduinouno drive RGB module full color effect example
[redis] five common data types
系统安全测试要怎么做,详细来说说
杀毒软件 clamav 的安装和使用








