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


Groups > comp.lang.python > #32189

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 <jsf80238@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.011
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'subject:Python': 0.05; 'url:github': 0.09; 'cc:addr:python-list': 0.10; 'module:': 0.16; 'received:209.85.216.53': 0.16; 'sender:addr:gmail.com': 0.18; 'python?': 0.20; 'parse': 0.22; 'cc:2**0': 0.23; 'cc:no real name:2**0': 0.24; 'host': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'message-id:@mail.gmail.com': 0.27; 'received:google.com': 0.34; 'remote': 0.35; 'received:209.85': 0.35; 'subject:with': 0.36; 'received:209': 0.37; 'received:209.85.216': 0.37; 'subject:: ': 0.38; 'some': 0.38; 'header:Received:5': 0.40
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=DzhVdwZwmFXvKNdFJZmLgGiuhm1IZzY+4bT/oi9jNnE=; b=My9inJW7znaqCmpgb2ivrW4v+AFRXlAoQhlxa30nSra4X0VcalykPGbol9afwhx5hW 0Zk7072YTgkwB0abZJg6cGr+KpshTwNJxyYZRXoZ2XKzo6+R/wfgf1kh4kzVCkTeXhyr KVMhAdOtjxKizZnSa4qyTWYiDSY0fU0v2APHHiXHHN97RlASM1jlymN3RFl2hhb8wisE egjq4po+x1z+L22ZpxvJmMZT2oSkwMXknaV2AuKJHVQMUfkLDqKuAhn5khB73pz4MSBx fO8y2URnK6WHDZiHzBW76ez3FRCFUToOs5pPfM6Dprymqf5yGPvKekHOijxTQNPO06IP md3w==
MIME-Version 1.0
Sender jsf80238@gmail.com
In-Reply-To <5089119A.2040902@globe.de>
References <5089119A.2040902@globe.de>
Date Thu, 25 Oct 2012 21:22:41 -0600
X-Google-Sender-Auth zI26ulQAV73mdyH63Pk7sybrtU0
Subject Re: SSH Connection with Python
From Jason Friedman <jason@powerpull.net>
To Schneider <js@globe.de>
Content-Type text/plain; charset=ISO-8859-1
Cc python-list@python.org
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.2880.1351221763.27098.python-list@python.org> (permalink)
Lines 5
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1351221763 news.xs4all.nl 6850 [2001:888:2000:d::a6]:33854
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:32189

Show key headers only | View raw


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

Consider also the sh module:
http://amoffat.github.com/sh/tutorials/2-interacting_with_processes.html.

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


Thread

Re: SSH Connection with Python Jason Friedman <jason@powerpull.net> - 2012-10-25 21:22 -0600

csiph-web