Created
January 3, 2020 08:51
-
-
Save mims92/0ded6e752c5a3b9aca894a0fe489d3e1 to your computer and use it in GitHub Desktop.
AWS - Bash - Start session using SSM Session manager
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
#!/bin/bash | |
#chmod +x /usr/bin/awsssm | |
#Usage: awsssm <instance id> <profile name> | |
aws ssm start-session --target $1 --profile $2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment