SSH configuration management
Project description
A very small and smart SSH configuration tool.
Quick start
Install from pip or run from source code
$ pip install ssh.py
Or
$ pip install -r requirements.txt
$ python ssh.py -h
Get all SSH key in local host
$ python ssh.py list key
+-----------------------+
| Private Key Name |
+-----------------------+
| aws.pem |
| github_rsa |
| gitlab.com_rsa |
| gitlab_rsa |
| tmp |
| tmp1 |
+-----------------------+
Get all SSH host config information
(ssh.py)➜ ssh.py git:(master) ✗ python ssh.py list host
+-------------------------+----------------------------------------------------+-------------+----------------------------------+
| host | hostname | user | identityfile |
+-------------------------+----------------------------------------------------+-------------+----------------------------------+
| ['test1112.me'] | ec2-xx-xxx-xxx-139.us-xxxx-2.compute.amazonaws.com | xxx-user | ['~/.ssh/dddddddd-aws.pem'] |
| ['github.com'] | ['github.com'] | xxxxxxxxxxx | ['~/.ssh/github_rsa'] |
| ['gitlab.com'] | ['gitlab.com'] | xxxxxxxx | ['~/.ssh/gitlab.com_rsa'] |
+-------------------------+----------------------------------------------------+-------------+----------------------------------+
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ssh.py-0.1.tar.gz
(4.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ssh.py-0.1.tar.gz.
File metadata
- Download URL: ssh.py-0.1.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b1b8dcbb1e2b78d5a8e073511ff1d1fd5776205e3aee418a78b20a079caf9df9
|
|
| MD5 |
0a349f4c5fe8d0e91e54190079282e32
|
|
| BLAKE2b-256 |
303ca6d16200bcb9f5e7af75da184827d3b60957f8121b11401dad573f57ab4d
|
File details
Details for the file ssh.py-0.1-cp27-none-macosx_10_12_intel.whl.
File metadata
- Download URL: ssh.py-0.1-cp27-none-macosx_10_12_intel.whl
- Upload date:
- Size: 5.8 kB
- Tags: CPython 2.7, macOS 10.12+ Intel (x86-64, i386)
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b89337b19a81f7e61c127325732dbc611fa0082a8b141d76b4fe43bfed644ec0
|
|
| MD5 |
745ca0174614d8a4482c22a8c3f70208
|
|
| BLAKE2b-256 |
428f1c1cf887d26413cc6167b5d74ba5d4a3355015a788a6df54544953b3da68
|