Skip to content

Commit

Permalink
Added example of using SSH arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
ivoronin committed Jan 18, 2024
1 parent d343d37 commit 518ed37
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ DNS name, or name tag, using ephemeral SSH keys.
Example - Connect to an instance using its private DNS name via an EICE tunnel:
$ ec2ssh --use-eice ip-10-0-0-1
Example - Use any SSH options and arguments as usual:
$ ec2ssh --use-eice -L 8888:127.0.0.1:8888 -N -i ~/.ssh/id_rsa_alt -o VisualHostKey=Yes app01
Options:
--region <string>
Use the specified AWS region (env AWS_REGION, AWS_DEFAULT_REGION).
Expand Down
3 changes: 3 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ DNS name, or name tag, using ephemeral SSH keys.
Example - Connect to an instance using its private DNS name via an EICE tunnel:
$ ec2ssh --use-eice ip-10-0-0-1
Example - Use any SSH options and arguments as usual:
$ ec2ssh --use-eice -L 8888:127.0.0.1:8888 -N -i ~/.ssh/id_rsa_alt -o VisualHostKey=Yes app01
Options:
--region <string>
Use the specified AWS region (env AWS_REGION, AWS_DEFAULT_REGION).
Expand Down

0 comments on commit 518ed37

Please sign in to comment.