Skip to main content

ssh client config manager

Project description

SSH Config

PyPI version Build Status

SSH client config file manager

Why

I don't remember all the servers I am managing. Also all servers requires all different configuration to connec to it. I know ~.ssh/config can handle this kind of issue. I want it to handle this file easier.

Yes, I am not sure this is eaiser way to handle it. but I am trying.

Usage

ssh_config.

    Usage:
        ssh_config.py [options] [COMMAND] [ARGS...]

    Options:
        -h --help           Show this screen.
        -v --version        Show version.
        -f --config FILE    Specify an ssh client file [default: ~/.ssh/config]

    Commands:
        ls          Show list of Hosts in client file
        add         Add new Host configuration
        rm          Remove exist Host configuration
        version     Show version information

Use-cases

Want to get list of hosts in client file

$ ssh_config ls 
# It shows name and HostName attribute
server1: 203.0.113.76
*: None
server_cmd_1: 203.0.113.76
server_cmd_2: 203.0.113.76
server_cmd_3: 203.0.113.76

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

ssh_config-0.0.4.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

ssh_config-0.0.4-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file ssh_config-0.0.4.tar.gz.

File metadata

  • Download URL: ssh_config-0.0.4.tar.gz
  • Upload date:
  • Size: 4.9 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.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

File hashes

Hashes for ssh_config-0.0.4.tar.gz
Algorithm Hash digest
SHA256 43d1aa41c68702bc83d8e7416542ab04239d6870c0a534a9de1752b0d25350bd
MD5 c1506a22992f8ab2190e93ccbbd5eb25
BLAKE2b-256 2564a26a00afcb885d8e1f2b17d36c2d9df47447e00743749f4e76f463c2fbf0

See more details on using hashes here.

Provenance

File details

Details for the file ssh_config-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: ssh_config-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

File hashes

Hashes for ssh_config-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 76588461cd3cdbee6c6284442d7fab688fe2ebea9c2ba3234a85ea6ddfee2a28
MD5 16d52e24e11c56ef5402b797386cd333
BLAKE2b-256 d476e744f042b987b1914c7fc1522342a9cc11e99d5036d7b3d504a49ed5f75b

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page