An easy to use libssh wrapper to execute commands on a remote server via SSH with Python.
You can go straight to the API documentation here: Reference/API.
pystassh is a Python 3 library that allows you to easily run commands on a remote server via SSH.
Currently supported versions and implementations of Python are:
- python 3.3
- python 3.4
- python 3.5
Others might be compatible but are not officially supported.
Required libraries are automatically installed when installing
pystassh (see Installation to learn more).
In its current version,
pystassh requires additional libraries to interact with
libssh and to run the tests and build the documentation:
- cffi 1.7.0
- pytest 2.9.1
- Sphinx 1.4.1
- sphinx-autobuild 0.6.0
libffi-dev may have to be installed separately.