Skip to content

Instantly share code, notes, and snippets.

@the-takeo
Created October 18, 2023 04:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save the-takeo/6ba6d23361c3beeda7e29b9a0676c96a to your computer and use it in GitHub Desktop.
Save the-takeo/6ba6d23361c3beeda7e29b9a0676c96a to your computer and use it in GitHub Desktop.
踏み台サーバー経由でRDPするPowershell
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