#ポートフォワーディングとは
ローカルの特定のポートをどっかに結びつける。
SSHで踏み台サーバから本番にアクセスしたい時なんかに使う。
Created
May 30, 2016 10:25
-
-
Save nishinoshake/2d1c3725f6798162470a1d296017fa0f to your computer and use it in GitHub Desktop.
ポートフォワーディングがよくわからん
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ローカルの12345ポートを | |
# ターゲット(ttt)のポート22と | |
# proxy経由で繋いであげる | |
ssh -L 12345:ttt.ttt.ttt.ttt:22 -i keyname.pem [email protected] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment