Skip to content

Instantly share code, notes, and snippets.

@HQarroum
Last active April 6, 2023 09:24
Show Gist options
  • Save HQarroum/768f7f8cb07d9862af63497dc0071daf to your computer and use it in GitHub Desktop.
Save HQarroum/768f7f8cb07d9862af63497dc0071daf to your computer and use it in GitHub Desktop.
Add the ability for OpenSSH to integrate with Sessions Manager and support instance identifiers and instance names.
Host i-* mi-* aws-*
IdentityFile ~/.ssh/id_rsa
ProxyCommand ~/.ssh/initiate-ssm-connection.sh %h %p
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment