Skip to main content

An SSH automation library.

Project description


Documentation Status

Test Status Coverage Status

Connect to SSH servers in python easily and with C speed! Interacting with SSH shouldn't be hard, slow or limited to certain SSH severs. Based on ssh2-python (which provides libssh2 bindings for python) and made into an easy to use SSH library with the focus being ease of use and speed. SSH should be as easy as a pre-wrapped TLS TCP socket, it should work well, be fast in execution and be simple to interact with.


RedSSH can be installed via pip with pip install redssh or the latest commit, which may not be the most stable, from git with pip install git://


99% of questions around how to do something should be answered in the documentation. If something is not there please raise an issue so it can be added to the documentation. Now with autodocs!

Why not use [other software]?

I've found other automation libraries or solutions lacking, such as:

  • Compatibility with remote servers (odd servers causes the library to be unable to connect).
  • Feature set is limited (eg, no tunneling).
  • Focuses on only connecting to Linux servers.
  • Requires an agent to be installed, a state file to be present or a master "server".
  • Poor performance.


  • More error based unit tests
  • More examples
  • Host based authentication
  • X11 forwarding

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for redssh, version 2.2.3
Filename, size File type Python version Upload date Hashes
Filename, size redssh-2.2.3-py2.py3-none-any.whl (29.1 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size redssh-2.2.3.tar.gz (16.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page