You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+20-3Lines changed: 20 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,17 +2,21 @@
2
2
3
3
Shell into any server in your aws account.
4
4
5
-
#Search
5
+
Search
6
+
====
6
7
calling the search command will look up all ec2 instances then filter the results by the term entered. if only a single result the app will ssh directly. If multiple results returned the app will display a numbered list and prompt for which to connect.
7
8
9
+
8
10
```
9
11
aws-ssh search {{search term}}
10
12
```
11
13
12
-
#Connect
14
+
Connect
15
+
=====
13
16
connect allows you to connect directly to a known server. (team member running windows asked for this.)
14
17
15
-
#Configuration
18
+
Configuration
19
+
======
16
20
17
21
you will need to specify aws credentials. see [AWS Credentials](http://blogs.aws.amazon.com/security/post/Tx3D6U6WSFGOK2H/A-New-and-Standardized-Way-to-Manage-Credentials-in-the-AWS-SDKs) for details.
18
22
@@ -24,5 +28,18 @@ aws_access_key_id = ACCESS_KEY
24
28
aws_secret_access_key = SECRET_KEY
25
29
```
26
30
31
+
#### Config File
32
+
by setting a `~/.aws-ssh.yml` file you can set additional fields to the search
33
+
results.
34
+
35
+
example `.aws-ssh.yml` file:
36
+
```markdown
37
+
tags:
38
+
- env
39
+
- name
40
+
- role
41
+
```
42
+
43
+
27
44
##PEM keys
28
45
if setting a key add the name only expected to be at ~/.ssh/{{KEY_NAME}}.pem
0 commit comments