cloudssh
EC2 SSH connections helper
An SSH connection helper for AWS
cloudssh allows you to quickly connect to EC2 instances using their names or instance IDs.
It will call the AWS SDK to find the instance public IP address and open a SSH connection in a subprocess.
Example:
EC2
You can connect to this instance with:
cssh dev
You can also use the auto-completion feature by building a local index of your AWS instances then calling cloudssh without any argument.
cssh --build_index # The instances index has been stored in ~/.cloudssh/. cssh # Start typing an instance name and press [TAB] to auto complete.
Or search instances by name with:
cssh --build_index # The instances index has been stored in ~/.cloudssh/. cssh --search http # Found "web-http-prod", connect? [Y/n]:
Or lookup an instance details:
cssh web-http-prod --info # * Network # Public ID: 123.***.***.*** # Private ID: 10.***.***.*** # # * VPC/subnet # VPC ID: vpc-****** # Subnet ID: subnet-****** # # * Misc # Instance name: web-http-prod # Instance ID: i-****** # Instance type: t2.xlarge # Launch date: 2019-10-12 15:44:36+00:00 # # * Tags # product = web_cluster # environment = production # Name = web-http-prod
Example:
EC2
Installation and usage
pip3 install cloudssh
aws configure # To configure your AWS credentials
cssh myserver # Call the module followed by the name of one of your servers
Advanced configuration
You can optionally create a file ~/.cloudssh/cloudssh.cfg (see example).
Metadata
Release files for cloudssh 1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cloudssh-1.4.tar.gz | 7.2 kB | Without provenance | Details for cloudssh-1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cloudssh-1.4-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for cloudssh-1.4-py2.py3-none-any.whl |
Total release size: 15.2 kB
Release files / cloudssh-1.4.tar.gz
| Download URL | cloudssh-1.4.tar.gz |
|---|---|
| Size | 7.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d07e917784dc7f80c76eb82f512b8e2a1be52e4af32bdee64e8aeb115bbcc69d
|
|
BLAKE2b-256 checksum How to use checksums |
9a8fa737f2cb2c635527036cadee1433600cbb715bd313fe35a7fc752b48340e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.3
|
Release files / cloudssh-1.4-py2.py3-none-any.whl
| Download URL | cloudssh-1.4-py2.py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
e5d30a2a66bdac4b6c381bec80db2bf1d8fe12e624fe6dc79a5e2827d6ea01f6
|
|
BLAKE2b-256 checksum How to use checksums |
16cc41b7ce3ee1b1befae40f81ed576dd7f4db0e2457908c36d44b0211577040
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.3
|
Security for cloudssh 1.4
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.