Last active
July 15, 2017 02:19
-
-
Save dwallraff/171492ee800e0bf21843f5f05770a747 to your computer and use it in GitHub Desktop.
SSH Config ProxyCommand fun times
This file contains hidden or 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
| Host internal-server | |
| HostName 192.0.1.10 | |
| User internal-user | |
| ServerAliveInterval 60 | |
| ProxyCommand sh -c ">&2 echo 'Password is: XXXXXXXX'; ssh -T -i ~/.ssh/generic_key external-user@123.123.123.123 'nc %h %p'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment