Created
June 19, 2018 14:09
-
-
Save tuxpower/dead553af481c3ad7ceb7e82d6807be5 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
ssh -i ~/.ssh/aws_key -o ProxyCommand='ssh -i ~/.ssh/id_bastion -W %h:%p user@bastion' ec2-user@aws-instance | |
https://www.nadeau.tv/ssh-with-a-bastion-host/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment