Skip to content

Instantly share code, notes, and snippets.

@dermatologist
Forked from lvnilesh/ssh-config-windows
Created September 15, 2020 01:39
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 dermatologist/e88986755191a117ba37d956ddc7806f to your computer and use it in GitHub Desktop.
Save dermatologist/e88986755191a117ba37d956ddc7806f 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