ssh-ec2
Make ssh to EC2 instances easier
Install:
pip install ssh-ec2
Setup:
Add the following to your shell rc (.bashrc, .bash_profile, .zshrc):
#compdef ssh_ec2
_ssh_ec2() {
eval $(env COMMANDLINE="${words[1,$CURRENT]}" _SSH_EC2_COMPLETE=complete-zsh ssh_ec2)
}
if [[ "$(basename -- ${(%):-%x})" != "_ssh_ec2" ]]; then
autoload -U compinit && compinit
compdef _ssh_ec2 ssh_ec2
fi
Example Usage:
ssh_ec2 select [TAG NAME] [TAG VALUE] [IP ADDRESS|all|random]
Usage: ssh_ec2 [OPTIONS] COMMAND [ARGS]...
Options:
--help Show this message and exit.
Commands:
select
Tab completion for all commands and arguments. If you don't need a specific IP then use random to select one of the hosts at random or all to go to each host in turn.
Note:
If tag names have a : in them they are replaced with _COLON_ this is due to zsh treating text after a colon as help text
Metadata
Release files for ssh-ec2 0.0.2
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 |
|---|---|---|---|---|
| ssh-ec2-0.0.2.tar.gz | 4.0 kB | Without provenance | Details for ssh-ec2-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ssh_ec2-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for ssh_ec2-0.0.2-py3-none-any.whl |
Total release size: 20.9 kB
Release files / ssh-ec2-0.0.2.tar.gz
| Download URL | ssh-ec2-0.0.2.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9a636fe446fab543041fd5c2c549ed2df18d120aca196c683e66b74eb9308a9d
|
|
BLAKE2b-256 checksum How to use checksums |
b58506bf2c7932a5198e1126d59e01351b646bd5261bccfe8a3ffec5a2f65c90
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0
|
Release files / ssh_ec2-0.0.2-py3-none-any.whl
| Download URL | ssh_ec2-0.0.2-py3-none-any.whl |
|---|---|
| Size | 16.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8bf75318c0d70953fc9d466bc8f72d3c5148a36cb08916dca8fa3a9440f3d76b
|
|
BLAKE2b-256 checksum How to use checksums |
d645c866cdd4885843adec5e77b5e660443a08e46d394957f11cfcc125a2e3c1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0
|
Security for ssh-ec2 0.0.2
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.