Connection Master
A command line remote server connection and management tool
Installation
$ pip install connectionmaster
MacOS
$ echo alias cm='python3 -m connectionmaster' > ~/.bash_profile
Linux
$ echo alias cm='python3 -m connectionmaster' > ~/.bashrc
The config file is ~/.cmrc.yaml
Usage
There are long and one letter forms for every command
$ cm connect myServer
$ cm c myServer
$ cm execute mySecondServer "echo hi > test.txt"
$ cm x mySecondServer "echo hi > test.txt"
$ cm scp myThirdServer localfile remotefile
$ cm scp myThirdServer localfile remotefile
$ cm ping myFourthServer
$ cm p myFourthServer
$ cm edit
$ cm e
Config file
myServer:
ip: 'xxx.xxx.xxx.xxx'
user: 'myUser'
# The jump option takes the server to jump ssh through
mySecondServer:
ip: 'yyy.yyy.yyy.yyy'
port: '2000'
key: 'mySecondServerKey'
jump: 'myServer'
# The ip isn't needed when you specify a full command but is needed to ping the server
myThirdServer:
ip: 'zzz.zzz.zzz.zzz'
command: 'vncviewer zzz.zzz.zzz.zzz:0'
justRunCommand: True
Config values
| Value | Meaning | Default |
|---|---|---|
command |
The command to run | ssh |
user |
The user to log in as | The current user |
ip |
The IP to connect to | localhost |
port |
The port to connect to | 22 |
key |
The ssh key to use | No key |
jump |
A server to jump ssh through | Nothing |
justRunCommand |
Just runs command without adding ip, port, etc |
False |
Metadata
Release files for connectionmaster 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| connectionmaster-0.0.8.tar.gz | 2.9 kB | Without provenance | Details for connectionmaster-0.0.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| connectionmaster-0.0.8-py3-none-any.whl | Python 3 | none | any | Details for connectionmaster-0.0.8-py3-none-any.whl |
Total release size: 18.3 kB
Release files / connectionmaster-0.0.8.tar.gz
| Download URL | connectionmaster-0.0.8.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7adabc4b51781dd3b48ab3fba085781a35f3c871beb272e3db1a8de12459df22
|
|
BLAKE2b-256 checksum How to use checksums |
a43d502dc6eeea9a5c2279581cb567de4dca1bb1dbae4a73ca9f641925d5fb5c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.0
|
Release files / connectionmaster-0.0.8-py3-none-any.whl
| Download URL | connectionmaster-0.0.8-py3-none-any.whl |
|---|---|
| Size | 15.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d0d26d1c5c121890d8d54606875f6fadcd8509f61d8d9ef4f988b4dd11ce3839
|
|
BLAKE2b-256 checksum How to use checksums |
fc3aacd3a25f4d5a7dce8bb8a24e0f3af2defff316ed5cba92cbe4f944d36350
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.0
|
Security for connectionmaster 0.0.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.