SSH Connection with Python

Roy Smith roy at panix.com
Thu Oct 25 08:18:47 EDT 2012


In article <mailman.2834.1351161105.27098.python-list at python.org>,
 Schneider <js at globe.de> wrote:

> Hi Folkz,
> how can i create a SSH-Connection with python? I have to send some 
> commands to the remote host and parse their answers.
> greatz Johannes

At a low level, you want to look at the paramiko library.  Built on top 
of that, and adding hoards of neat functionality, is fabric.  One of 
these is likely to be what you're looking for.

http://www.lag.net/paramiko/

https://github.com/fabric/fabric



More information about the Python-list mailing list