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
        import      Import Hosts from csv file to SSH Client config
        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.6.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ssh_config-0.0.6-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ssh_config-0.0.6.tar.gz
  • Upload date:
  • Size: 5.3 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.6.tar.gz
Algorithm Hash digest
SHA256 48310d05fd47717f6e52224a8137b3a6bc463b1a3da7c2543f6ddba09f60a8cd
MD5 34b8789d2092b95d14873f9390d01c96
BLAKE2b-256 4b556410e5d93c2b9f1ac691dd71fb925661da9df8e3129ff181aa710ef3e3c4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ssh_config-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 7.0 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 03f68b1d38bf09f887ea8e7ae9558d225828d96169f7f86449fd39e4eac5bfe7
MD5 e822e8e5ca82b4ef48f3fc863b4a603c
BLAKE2b-256 0d7f1841f272094166dde4b1d11840656229ba3ea46c3b0b5bebd22c22c38f0a

See more details on using hashes here.

Supported by

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