프로젝트
GitHub에서 보기
soheil-zz/ssh2
소개
SSH for EC2
개발 도구측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalSSH to Your EC2 Instance Instantly
SSH2 is an interactive command line tool which allows you to quickly ssh to an EC2 instance. You can select from a list of running servers under your account.

Usage
$ ssh2 1
$ ssh2 -h
Usage: ssh2 [options] [server_number]
server_number: a numeric value corresponding to the server number
e.g.: 'ssh2 1' will ssh into the 1st server in the list.
Options:
-h, --help show this help message and exit
-x, --bust-cache refetch servers list from AWS
-u USER, --user=USER provide user (default: ubuntu)
-i IDENTITY, --identity=IDENTITY
provide identity file
-p PROFILE, --profile=PROFILE
provide AWS profile
--ip=IP connect using IP instead of DNS
-g GREP, --grep=GREP filter the server list
Filtering the list by EC2 instance name
$ ssh2 -g webrt
Servers list:
[1] ec2-XX-XX-XX-XX.us-west-2.compute.amazonaws.com webrtc-kurento
Which server would you like to connect to [1]?
$ ssh2 -g webrt 1
Connecting to webrtc-kurento ec2-XX-XX-XX-XX.us-west-2.compute.amazonaws.com
Requirements
- AWS CLI
- Python
Installation
pip install ssh2
or
without using Python package manager:
git clone https://github.com/soheil/ssh2.git
cd ssh2
ln -sf $(pwd)/ssh2 /usr/local/bin/
Author
Soheil Yasrebi, @soheil
관련 프로젝트 살펴보기
불러오는 중…