We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c59676 commit 4882f0cCopy full SHA for 4882f0c
README.md
@@ -40,9 +40,11 @@ Open an SSH connection to your ec2 instances via AWS SSM without the need to ope
40
`ssh <INSTACEC_USER>@<INSTANCE_ID>` e.g.
41
* `ssh ec2-user@i-1234567890`
42
###### SSH Command with ProxyCommand CLI Option
43
-`ssh <INSTACEC_USER>@<INSTANCE_ID> \
+```
44
+ssh <INSTACEC_USER>@<INSTANCE_ID> \
45
-i "~/.ssh/id_rsa" \
- -o ProxyCommand="~/.ssh/aws-ssm-ec2-proxy-command.sh %h %r %p ~/.ssh/id_rsa.pub"`
46
+ -o ProxyCommand="~/.ssh/aws-ssm-ec2-proxy-command.sh %h %r %p ~/.ssh/id_rsa.pub"
47
48
49
## Alternative Implementation with `ec2-instance-connect`
50
* Ensure [Prerequisits](#prerequisits)
0 commit comments