Skip to content

Commit

Permalink
Small update to help
Browse files Browse the repository at this point in the history
  • Loading branch information
dnorth98 committed Feb 3, 2020
1 parent 1e01c39 commit 6547462
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,16 @@ Wrapper script around AWS session manager to establish remote shell connections
## Usage

```bash
./aws-connect -a ssh|tunnel -n <instance name> [-r region] [-p profile name] [-o port] [-i]
/aws-connect -a ssh|tunnel -n <instance name> [-r region] [-p profile name] [-o port] [-i] [-h] [-v]

-a Connect interactive session or establish ssh tunnel (default: ssh)
-n Value for the Name tag of an EC2 instance
-r AWS region (default: us-east-1)
-p AWS profile (default: none)
-o Local ssh tunnel port (only applicable in tunnel mode; default: 9999)
-i Enable interactive mode
-h Display this help
-v Display version
```

## Prerequisites
Expand Down
4 changes: 2 additions & 2 deletions aws-connect
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Wrapper around AWS session manager for instance access and SSH tunnels

programname=$0
version=1.0.5
version=1.0.6

# Defaults
action=ssh
Expand All @@ -19,7 +19,7 @@ version() {
usage() {
echo "Usage:"
echo ""
echo "$programname -a ssh|tunnel -n <instance name> [-r region] [-p profile name] [-o port] [-i]"
echo "$programname -a ssh|tunnel -n <instance name> [-r region] [-p profile name] [-o port] [-i] [-h] [-v]"
echo ""
echo " -a Connect interactive session or establish ssh tunnel (default: ssh)"
echo " -n Value for the Name tag of an EC2 instance"
Expand Down

0 comments on commit 6547462

Please sign in to comment.