差異處
這裏顯示兩個版本的差異處。
| 兩邊的前次修訂版 前次修改 | |||
| tech:ssh_tunnel [2018/05/20 15:04] – 網址更改為 https Jonathan Tsai | tech:ssh_tunnel [2021/01/16 14:40] (目前版本) – 更換 plugin jonathan | ||
|---|---|---|---|
| 行 5: | 行 5: | ||
| {{https:// | {{https:// | ||
| * 先登入 IntraServer-A | * 先登入 IntraServer-A | ||
| - | * 執行 <xtermrtf> | + | * 執行 <cli> |
| ssh -nNT -R 9022: | ssh -nNT -R 9022: | ||
| - | </xtermrtf> | + | </cli> |
| * 由 IntraServer-A 以 jonathan 身分 ssh 連上 InterServer-B | * 由 IntraServer-A 以 jonathan 身分 ssh 連上 InterServer-B | ||
| * 同時建立 ssh tunnel, 讓 InterServer-B 所 Listen 的 Port 9022 就是通到 IntraServer-A 的 Port 22 | * 同時建立 ssh tunnel, 讓 InterServer-B 所 Listen 的 Port 9022 就是通到 IntraServer-A 的 Port 22 | ||
| 行 15: | 行 15: | ||
| {{https:// | {{https:// | ||
| * 先登入 IntraServer-A | * 先登入 IntraServer-A | ||
| - | * 執行 <xtermrtf> | + | * 執行 <cli> |
| ssh -nNT -R 9022: | ssh -nNT -R 9022: | ||
| - | </xtermrtf> | + | </cli> |
| * 由 IntraServer-A 以 jonathan 身分 ssh 連上 InterServer-B | * 由 IntraServer-A 以 jonathan 身分 ssh 連上 InterServer-B | ||
| * 然後建立 ssh tunnel, 讓 InterServer-B 所 Listen 的 Port 9022 就是通到 IntraServer-C 的 Port 22 | * 然後建立 ssh tunnel, 讓 InterServer-B 所 Listen 的 Port 9022 就是通到 IntraServer-C 的 Port 22 | ||