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 hashes)
Built Distribution
Close
Hashes for ssh.py-0.1-cp27-none-macosx_10_12_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b89337b19a81f7e61c127325732dbc611fa0082a8b141d76b4fe43bfed644ec0 |
|
MD5 | 745ca0174614d8a4482c22a8c3f70208 |
|
BLAKE2b-256 | 428f1c1cf887d26413cc6167b5d74ba5d4a3355015a788a6df54544953b3da68 |