EC2 SSH connections helper
Project description
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:
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]:
Example:
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).
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
Built Distribution
File details
Details for the file cloudssh-1.2.tar.gz
.
File metadata
- Download URL: cloudssh-1.2.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a7b40ad80f7ab97bf4b3427814ee1de79be067765e02ab0c4633855ee79f8d4 |
|
MD5 | aaa4acf2605a465077487d4d24f21ebd |
|
BLAKE2b-256 | dc2ca04744f6c3c44056cd7bb871a18547086c5437938d17c9a23a08a6e11773 |
File details
Details for the file cloudssh-1.2-py2.py3-none-any.whl
.
File metadata
- Download URL: cloudssh-1.2-py2.py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5700ddd2df833ed98620016fff00f6af5b05d450807149283fe1e34a0b2208e1 |
|
MD5 | b280c9e38c8de6ab57d05affd51f2fcf |
|
BLAKE2b-256 | 96bd0ccc3df07c8776575f4be06b0f836d162e9429667d362c1ac491c375b70c |