SSH server manager on the basis of environments
Project description
Connect Dev SSH
This is simple and elegant python module that helps you to manage your ssh server based on environment. Like DEV, UAT, PRE-PROD etc.
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.0.tar.gz
(2.6 kB
view details)
Built Distribution
dssh-0.4.0-py3-none-any.whl
(3.3 kB
view details)
File details
Details for the file dssh-0.4.0.tar.gz
.
File metadata
- Download URL: dssh-0.4.0.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.11.4 Darwin/21.2.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 231541436bcc70de548682febc2c552a04e0ec53411e3abfdc9b0647da0dc412 |
|
MD5 | 4671e5e1d50faf3e32c067a6aa77f939 |
|
BLAKE2b-256 | 36cb8ec556be3070c350844b21eeddb6e1bde09405ae51d269048df245937e95 |
File details
Details for the file dssh-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: dssh-0.4.0-py3-none-any.whl
- Upload date:
- Size: 3.3 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 884ac2cad69f29f545bcc7d6a0105845c7912d94b16f05742696020d4d05fda4 |
|
MD5 | cba15f4be9c1983bbb2d17b49f64fac4 |
|
BLAKE2b-256 | 2aaa1b9d7d4057aa483826b9aaeaf7bfed98030bebec82af68e57bd476264125 |