SSH 通过跳板机连接

SSH 通过跳板机连接

💡 原文中文,约600字,阅读约需2分钟。
📝

内容提要

通过跳板机连接目标服务器 SSH 有两种方式:推荐使用 ProxyJump,命令为 `ssh -J user@jump-server.dealiaxy.com:10023 user@target.dealiaxy.com`,另一种是使用 ProxyCommand,命令为 `ssh -o "ProxyCommand ssh -W %h:%p user@jump-server.dealiaxy.com -p 10023" user@target.dealiaxy.com`。

🏷️

标签

➡️

继续阅读