Created
October 18, 2023 04:29
-
-
Save the-takeo/6ba6d23361c3beeda7e29b9a0676c96a to your computer and use it in GitHub Desktop.
踏み台サーバー経由でRDPするPowershell
This file contains 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
ssh -L 任意のポート番号:RDPするサーバーのIP:3389 踏み台サーバー | |
# Ex) ssh -L 33389:10.1.0.1:3389 user@10.1.0.2 | |
# このコマンドを実行後、「localhost:33389」に対しRDP接続することで10.1.0.2経由で10.1.0.1にRDPすることができる。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment