Skip to content

Instantly share code, notes, and snippets.

@ztankersley
Created September 22, 2019 05:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save ztankersley/c83d2196a58a014d9e3a8ec16c01374a to your computer and use it in GitHub Desktop.
Save ztankersley/c83d2196a58a014d9e3a8ec16c01374a to your computer and use it in GitHub Desktop.
ssh proxycommand windows 10 with ssh on powershell
Host NAT
HostName 52.15.213.177
ForwardAgent yes
StrictHostKeyChecking ask
IdentityFile "C:\Users\Zach Tankersley\.ssh\id_rsa.pem"
User ec2-user
Host 10.0.1.12
ProxyCommand C:\Windows\System32\OpenSSH\ssh.exe -q -W %h:%p NAT
ForwardAgent yes
IdentityFile "C:\Users\Zach Tankersley\.ssh\id_rsa.pem"
User ubuntu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment