There are several ways to use Secure Shell (SSH) in Python.
ssh
- a fork of, and spiritual successor to, the Paramiko Python SSH library. It was created by the developers of the Fabric library as a way to ensure timely updates and bugfixes for critical issues.
http://pypi.python.org/pypi/ssh - in pypi as ssh
https://github.com/bitprophet/ssh/ - No longer receiving updates. Merged back to Paramiko
pyssh
pyssh website -- project home page
pyssh mailing list -- not very active (2006-03-26)
paramiko
Paramiko is a native Python implementation of SSH.
paramiko website -- project home page
http://jessenoller.com/2009/02/05/ssh-programming-with-paramiko-completely-different/ -- Article by Jesse Noller
conch
conch is another native implementation of SSH and part of the Twisted Matrix project
http://twistedmatrix.com/projects/conch -- conch home
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.
PySCP pscp wrapper -- wraps Windows pscp, which is part of the Putty suite
See Also
ssh search -- on the VaultsOfParnassus
Wikipedia:SSH -- wikipedia article on Secure Shell
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