ec2ssh 2.0.4 → 2.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/ChangeLog.md +4 -0
- data/README.md +7 -4
- data/lib/ec2ssh/version.rb +1 -1
- metadata +1 -1
data/ChangeLog.md
CHANGED
data/README.md
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
[](https://travis-ci.org/mirakui/ec2ssh)
|
2
2
|
|
3
3
|
# Introduction
|
4
|
-
ec2ssh is a ssh_config manager for
|
4
|
+
ec2ssh is a ssh_config manager for Amazon EC2.
|
5
|
+
|
5
6
|
`ec2ssh` command adds `Host` descriptions to ssh_config (~/.ssh/config default). 'Name' tag of instances are used as `Host` descriptions.
|
6
7
|
|
7
8
|
# How to use
|
@@ -31,7 +32,7 @@ aws_keys:
|
|
31
32
|
access_key_id: YOUR_ACCESS_KEY_ID
|
32
33
|
secret_access_key: YOUR_SECRET_ACCESS_KEY
|
33
34
|
regions:
|
34
|
-
- ap-northeast-1
|
35
|
+
- ap-northeast-1
|
35
36
|
```
|
36
37
|
|
37
38
|
### 5. Execute `ec2ssh update`
|
@@ -96,6 +97,8 @@ $ ec2ssh update --aws-key my_key1
|
|
96
97
|
# Generated by ec2ssh http://github.com/mirakui/ec2ssh
|
97
98
|
# DO NOT edit this block!
|
98
99
|
# Updated Sun Dec 05 00:00:14 +0900 2010
|
100
|
+
|
101
|
+
# section: default
|
99
102
|
Host app-server-1.us-west-1
|
100
103
|
HostName ec2-xxx-xxx-xxx-xxx.us-west-1.compute.amazonaws.com
|
101
104
|
Host db-server-1.ap-southeast-1
|
@@ -120,7 +123,7 @@ aws_keys:
|
|
120
123
|
access_key_id: ...(Filled by ENV['AMAZON_ACCESS_KEY_ID']
|
121
124
|
secret_access_key: ...(Filled by ENV['AMAZON_SECRET_ACCESS_KEY'])
|
122
125
|
regions:
|
123
|
-
- ap-northeast-1
|
126
|
+
- ap-northeast-1
|
124
127
|
```
|
125
128
|
|
126
129
|
## multiple aws keys
|
@@ -138,7 +141,7 @@ aws_keys:
|
|
138
141
|
access_key_id: ...
|
139
142
|
secret_access_key: ...
|
140
143
|
regions:
|
141
|
-
- ap-northeast-1
|
144
|
+
- ap-northeast-1
|
142
145
|
```
|
143
146
|
|
144
147
|
Updating ssh_config by 'default' aws key:
|
data/lib/ec2ssh/version.rb
CHANGED