Created
December 5, 2016 17:35
-
-
Save mscalora/e7577fbeecddf5773a570618d0ad332b to your computer and use it in GitHub Desktop.
This file contains 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
# Simple "jump box" scenario | |
# For any user with the same userid on all three systems | |
# jump from source.example.com to dest.example.com via jump.example.com | |
# using default ports | |
# using local keys (e.g. ~/.ssh/id_rsa on source.example.com) | |
# | |
# English: ssh from source.example.com to dest.example.com when dest.example.com is not | |
# using a ssh | |
Host jump-to-dest | |
Hostname dest.example.com | |
ForwardAgent yes | |
ProxyCommand ssh -W %h:%p jump.example.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment