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


$ 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.

  -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



git clone
cd ssh2
ln -sf $(pwd)/ssh2 /usr/local/bin/


Soheil Yasrebi, [@soheil](

Project details

Download files

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

Files for ssh2, version 1.03
Filename, size File type Python version Upload date Hashes
Filename, size ssh2-1.03.tar.gz (2.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page