LoginSignup
0
0

More than 5 years have passed since last update.

EC2のWindowsインスタンスにsshポートフォーワードで接続する ~ 認証プロキシを越えて

Last updated at Posted at 2019-03-19

1. ~/.ssh/config に一行記述する

ProxyCommand env CONNECT_USER={プロキシユーザー名} CONNECT_PASSWORD={プロキシパスワード} connect -H {プロキシサーバー名}:{プロキシポート} %h %p

2. ポートフォワードの開始

ssh -i {pemファイルのパス} -L 13389:{WindowsインスタンスのローカルIP}:3389 ec2-user@{踏み台Amazon LinuxのパブリックIP}

3. mstscでRDP接続

localhost:13389
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0