![]() ![]() There need to be a single EC2 instance in each target AWS environment with a unique tag, so that we can search for that tag and get the address of that single EC2.You can test if it’s working by running: aws ec2 describe-instances. ![]() It’s possible to change the AWS access credentials in the shell environment to switch to a different AWS environment.The aws command-line utility must be installed and the shell environment must be configured to allow access to the destination AWS environment.This could easily be extended or modified to use any other means of dynamically loading the hostname during the connection. ![]() Here we will describe how to load the bastion server’s address from AWS, using AWS tags and the shell environment’s AWS authentication information. Part 1: Using SSH Through A Bastion Host Transparentlyĭynamically loading the bastion server address from AWSĬredit to my colleague Jason Mao for devising this technique. ![]() This is the second part of a series about using SSH with bastion hosts. You may wish to read the first part for background about using SSH bastion hosts:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |