Skip to main content

A python utility for remote server management

Project description

Connection Master

A command line remote server connection and management tool


pip install connectionmaster
$ echo alias cm='python3 -m connectionmaster' > ~/.bashrc

The config file is ~/.cmrc.yaml


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 ping myThirdServer
$ cm p myThirdServer
$ cm edit
$ cm e

Config file

    ip: ''
    user: 'myUser'

# The jump option takes the server to jump ssh through
    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
    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

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

connectionmaster-0.0.5.tar.gz (2.8 kB view hashes)

Uploaded source

Built Distribution

connectionmaster-0.0.5-py3-none-any.whl (15.3 kB view hashes)

Uploaded py3

Supported by

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