Skip to main content

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

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ssh.py, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size ssh.py-0.1-cp27-none-macosx_10_12_intel.whl (5.8 kB) File type Wheel Python version 2.7 Upload date Hashes View
Filename, size ssh.py-0.1.tar.gz (4.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page