Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #32120

Re: SSH Connection with Python

From Roy Smith <roy@panix.com>
Newsgroups comp.lang.python
Subject Re: SSH Connection with Python
Date 2012-10-25 08:18 -0400
Organization PANIX Public Access Internet and UNIX, NYC
Message-ID <roy-77F377.08184725102012@news.panix.com> (permalink)
References <mailman.2834.1351161105.27098.python-list@python.org>

Show all headers | View raw


In article <mailman.2834.1351161105.27098.python-list@python.org>,
 Schneider <js@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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

SSH Connection with Python Schneider <js@globe.de> - 2012-10-25 12:16 +0200
  Re: SSH Connection with Python Roy Smith <roy@panix.com> - 2012-10-25 08:18 -0400
  Re: SSH Connection with Python Peter Pearson <ppearson@nowhere.invalid> - 2012-10-25 16:55 +0000
    Re: SSH Connection with Python - Oops Peter Pearson <ppearson@nowhere.invalid> - 2012-10-25 23:08 +0000
  Re: SSH Connection with Python Christian <mining.facts@googlemail.com> - 2012-10-29 06:03 -0700
  Re: SSH Connection with Python Christian <mining.facts@googlemail.com> - 2012-10-29 06:03 -0700

csiph-web