Skip to content

Commit 4882f0c

Browse files
authored
Update README.md
1 parent 4c59676 commit 4882f0c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,11 @@ Open an SSH connection to your ec2 instances via AWS SSM without the need to ope
4040
`ssh <INSTACEC_USER>@<INSTANCE_ID>` e.g.
4141
* `ssh ec2-user@i-1234567890`
4242
###### SSH Command with ProxyCommand CLI Option
43-
`ssh <INSTACEC_USER>@<INSTANCE_ID> \
43+
```
44+
ssh <INSTACEC_USER>@<INSTANCE_ID> \
4445
-i "~/.ssh/id_rsa" \
45-
-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+
```
4648

4749
## Alternative Implementation with `ec2-instance-connect`
4850
* Ensure [Prerequisits](#prerequisits)

0 commit comments

Comments
 (0)