https://github.com/hiroakis/ana
Open/Close the AWS security group 22 port from your machine easily
https://github.com/hiroakis/ana
Last synced: 8 months ago
JSON representation
Open/Close the AWS security group 22 port from your machine easily
- Host: GitHub
- URL: https://github.com/hiroakis/ana
- Owner: hiroakis
- Created: 2017-01-16T15:27:09.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-18T09:24:14.000Z (over 9 years ago)
- Last Synced: 2025-02-14T16:39:49.810Z (over 1 year ago)
- Language: Go
- Homepage:
- Size: 6.58 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ana
ana(穴=means hole in Japanese) is a tool to open/close the AWS security group 22 port from your machine. If you'd like to connect via ssh to your EC2 servers from the place such as a cafe and friend's home, the tool would be a very easy method to open ssh port.
# Installation
Use bin/ana_* or build.
# How to use
* settings
```
export AWS_SECURITY_GROUP_ID=
export AWS_ACCESS_KEY_ID=
export AWS_SECRET_ACCESS_KEY=
export AWS_REGION=
```
* run
```
# open. add :22 to the aws security group
ana open
# close. delete :22 from the aws security group
ana close
```
# License
MIT