Created
October 4, 2021 11:58
-
-
Save monakez/00e5388daa5a7b12fbd776e0da672248 to your computer and use it in GitHub Desktop.
SSH over aws 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
| #~/.ssh/config | |
| # SSH over Session Manager | |
| host i-* mi-* | |
| ProxyCommand sh -c "aws ssm start-session --target %h --document-name AWS-StartSSHSession --parameters 'portNumber=%p'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment