Skip to content

Instantly share code, notes, and snippets.

@mims92
Created January 3, 2020 08:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mims92/0ded6e752c5a3b9aca894a0fe489d3e1 to your computer and use it in GitHub Desktop.
Save mims92/0ded6e752c5a3b9aca894a0fe489d3e1 to your computer and use it in GitHub Desktop.
AWS - Bash - Start session using SSM Session manager
#!/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