README.md in ec2ssh-2.0.4 vs README.md in ec2ssh-2.0.5
- old
+ new
@@ -1,9 +1,10 @@
[![Build Status](https://travis-ci.org/mirakui/ec2ssh.png?branch=master)](https://travis-ci.org/mirakui/ec2ssh)
# Introduction
-ec2ssh is a ssh_config manager for amazonaws ec2.
+ec2ssh is a ssh_config manager for Amazon EC2.
+
`ec2ssh` command adds `Host` descriptions to ssh_config (~/.ssh/config default). 'Name' tag of instances are used as `Host` descriptions.
# How to use
### 1. Set 'Name' tag to your instances
eg. Tag 'app-server-1' as 'Name' to an instance i-xxxxx in us-west-1 region.
@@ -29,11 +30,11 @@
aws_keys:
default:
access_key_id: YOUR_ACCESS_KEY_ID
secret_access_key: YOUR_SECRET_ACCESS_KEY
regions:
-- ap-northeast-1
+ - ap-northeast-1
```
### 5. Execute `ec2ssh update`
```
@@ -94,10 +95,12 @@
```
### EC2SSH BEGIN ###
# Generated by ec2ssh http://github.com/mirakui/ec2ssh
# DO NOT edit this block!
# Updated Sun Dec 05 00:00:14 +0900 2010
+
+# section: default
Host app-server-1.us-west-1
HostName ec2-xxx-xxx-xxx-xxx.us-west-1.compute.amazonaws.com
Host db-server-1.ap-southeast-1
HostName ec2-xxx-xxx-xxx-xxx.ap-southeast-1.compute.amazonaws.com
:
@@ -118,11 +121,11 @@
aws_keys:
default:
access_key_id: ...(Filled by ENV['AMAZON_ACCESS_KEY_ID']
secret_access_key: ...(Filled by ENV['AMAZON_SECRET_ACCESS_KEY'])
regions:
-- ap-northeast-1
+ - ap-northeast-1
```
## multiple aws keys
You can use multiple aws keys at `ec2ssh update` with `--aws-key` option.
@@ -136,10 +139,10 @@
secret_access_key: ...
my_key1:
access_key_id: ...
secret_access_key: ...
regions:
-- ap-northeast-1
+ - ap-northeast-1
```
Updating ssh_config by 'default' aws key:
```