Skip to main content

SSH server manager on the basis of environments

Project description

Connect Dev SSH

Simple and elegant python module that helps you to manage your ssh server based on environment. Like DEV, UAT, PRE-PROD etc. You can customize your environments/servers config as per your requirements.

Installation

Use the package manager pip to install foobar.

pip install dssh

Usage

Add new environment

$ dssh addenv
┏━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Available Environments ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━┩
└────────────────────────┘
New Environment name: DEV

Add new server to an environment

$ dssh addserver
┏━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Available Environments ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━┩
│ DEV                    │
└────────────────────────┘
Select an environment: DEV
┏━━━━━━━━━━━━━━━━━━━┓
┃ Available Servers ┃
┡━━━━━━━━━━━━━━━━━━━┩
└───────────────────┘
New Server name: Server1
Server username: username
Server hostname: 10.10.0.1

Connect to a server

$ dssh connect
┏━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Available Environments ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━┩
│ DEV                    │
│ UAT                    │
└────────────────────────┘
Select an environment: DEV
┏━━━━━━━━━━━━━━━━━━━┓
┃ Availbale Servers ┃
┡━━━━━━━━━━━━━━━━━━━┩
│ Server1           │
└───────────────────┘
Select a server: Server1
Environment:DEV Server:Server1!
Connecting to username@10.10.0.1! 💥

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

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

dssh-0.4.2.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

dssh-0.4.2-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file dssh-0.4.2.tar.gz.

File metadata

  • Download URL: dssh-0.4.2.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.4 Darwin/21.2.0

File hashes

Hashes for dssh-0.4.2.tar.gz
Algorithm Hash digest
SHA256 e0f6dc145ad43012fed080a354c6775d77a8e34a13ff3e3119aaff0d55196f56
MD5 d1c11bf8664b4da9ed2d5ffa6349085e
BLAKE2b-256 ce99cc0f789eb3941a249a2e2658f09ca0b2894aa778a35eb4bed7cc1887e0b4

See more details on using hashes here.

File details

Details for the file dssh-0.4.2-py3-none-any.whl.

File metadata

  • Download URL: dssh-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.4 Darwin/21.2.0

File hashes

Hashes for dssh-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c58605ca54b0683486ca5346687b1461565fe921424e98b3047b08beb514ea74
MD5 1ad6b97db11267266ef2ad98faa191c2
BLAKE2b-256 e8b40a2d37e574274927d13b83ebf94b81312f8589627be2550cd5efdd151249

See more details on using hashes here.

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