Skip to content
Snippets Groups Projects
Commit fc63a8ef authored by nimrod's avatar nimrod
Browse files

Wrapper script for SSH over SSM.

parent b350fb1b
Branches
No related tags found
No related merge requests found
#!/bin/sh
set -eu
exec ssh \
-o 'ProxyCommand aws ssm start-session --target %h --document-name AWS-StartSSHSession --parameters portNumber=%p' \
-o 'UserKnownHostsFile /dev/null' \
-o 'StrictHostKeyChecking no' \
"$@"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment