Created
March 27, 2016 16:34
-
-
Save sshnaidm/0cfed5ea77287595c91b to your computer and use it in GitHub Desktop.
multihop ssh tunnel
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
ssh -2fNL 8888:192.0.2.6:5000 instack -F ssh.config | |
cat<EOF>>ssh.config | |
Host instack | |
ProxyCommand ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o ConnectTimeout=60 -i ~/.ssh/id_rsa [email protected] -W 192.168.122.66:22 | |
# IdentityFile id_rsa_undercloud | |
User stack | |
StrictHostKeyChecking no | |
UserKnownHostsFile=/dev/null | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment