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


Groups > comp.lang.python > #32113

Re: SSH Connection with Python

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <gandalf@shopzeus.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.056
X-Spam-Evidence '*H*': 0.89; '*S*': 0.00; 'subject:Python': 0.05; 'subprocess': 0.16; 'wrote:': 0.17; 'python?': 0.20; 'parse': 0.22; 'host': 0.24; 'header:In-Reply-To:1': 0.25; 'header:User- Agent:1': 0.26; 'to:addr:python-list': 0.33; 'another': 0.33; 'remote': 0.35; 'subject:with': 0.36; 'subject:: ': 0.38; 'some': 0.38; 'to:addr:python.org': 0.39; 'received:192': 0.39; 'received:192.168': 0.40; 'received:204': 0.72
Date Thu, 25 Oct 2012 12:34:37 +0200
From Laszlo Nagy <gandalf@shopzeus.com>
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121011 Thunderbird/16.0.1
MIME-Version 1.0
To python-list@python.org
Subject Re: SSH Connection with Python
References <5089119A.2040902@globe.de>
In-Reply-To <5089119A.2040902@globe.de>
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.2835.1351161494.27098.python-list@python.org> (permalink)
Lines 10
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1351161494 news.xs4all.nl 6972 [2001:888:2000:d::a6]:58608
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:32113

Show key headers only | View raw


On 2012-10-25 12:16, Schneider 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
http://www.lag.net/paramiko/

Another solution would be to use subprocess and/or pexpect

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


Thread

Re: SSH Connection with Python Laszlo Nagy <gandalf@shopzeus.com> - 2012-10-25 12:34 +0200

csiph-web