This is a static archive of the Python wiki, which was retired in February 2026 due to lack of usage and the resources necessary to serve it — predominately to bots, crawlers, and LLM companies.
Pages are preserved as they were at the time of archival. For current information, please visit python.org.
If a change to this archive is absolutely needed, requests can be made via the infrastructure@python.org mailing list.

There are several ways to use Secure Shell (SSH) in Python.

paramiko

Paramiko is a native Python implementation of SSH.

pyssh

conch

conch is another native implementation of SSH and part of the Twisted Matrix project

Fabric

Fabric uses paramiko to implement a higher-level API for performing commands over SSH, particularly for deployment and system administration tasks.

Spur

Spur is a thin wrapper around paramiko, aiming to provide a simpler API than paramiko for common SSH operations.

SSH wrapper

Some tools just wrap around existing ssh/sftp implementations.

See Also

Discussion

I'm investigating the use of SSH in Python.

I want something that will work in both Windows and Linux, that can operate like sftp/psftp. So, I'm thinking about paramiko, since it's pure Python.

-- LionKimbro 2006-03-26 00:20:01

You can use org.keyphrene. This library has been tested on Windows, Linux, and MacOS.

-- Vincent 2006-04-06 18:02:01


2026-02-14 16:12