Skip to main content

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

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)

Metadata

Release files for ssh2 1.03

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ssh2 1.03
File Size Uploaded Provenance Actions
ssh2-1.03.tar.gz 2.9 kB Without provenance Details for ssh2-1.03.tar.gz

Release files / ssh2-1.03.tar.gz

Download URL ssh2-1.03.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
090b92934b033fa0f045d1ed2c449cd9935a39e301ae6207e7c4e5d02c67bf32
BLAKE2b-256 checksum
How to use checksums
9b2ee4a5c392ea704f92cb182a48426fd0f452bc77bd9860b30b990d9e5229b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for ssh2 1.03

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page