Skip to main content

Simplifying EC2 ssh'ing

Project description

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.

image0 image1

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

Requirements

Installation

git clone https://github.com/soheil/ssh2.git
cd ssh2
ln -sf $(pwd)/ssh2 /usr/local/bin/

Author

Soheil Yasrebi, [@soheil](https://twitter.com/soheil)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ssh2-1.0.tar.gz (2.6 kB view details)

Uploaded Source

File details

Details for the file ssh2-1.0.tar.gz.

File metadata

  • Download URL: ssh2-1.0.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ssh2-1.0.tar.gz
Algorithm Hash digest
SHA256 7fe9f43672963dd468178412039fe62eddd1eb5f84a5e363cfd0e68a5e4fe34a
MD5 b697610665771bb9b9bb703ed7ba73f6
BLAKE2b-256 819df84a4e4112d77b96310902665d0cefd0d7027fae30dd3621ced98c4672c4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page