AdamGold / python-ssh-exec

Library to execute local python scripts on remote servers.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python SSH Execution

Python library for executing local Python scripts on remote machines.

Installation

Use the package manager pip to install foobar.

pip install python-ssh-exec

Usage

pyssh -f ~/path/to/script.py -h SERVER_ADDRESS -p PORT -u USERNAME -pw PASSWORD

User, password and port are optional fields. You can also set environment variables instead of including them: SSH_USER and SSH_PASSWORD. port is defaulted to 22.

Contributing

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

License

MIT

About

Library to execute local python scripts on remote servers.

License:MIT License


Languages

Language:Python 100.0%