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


Groups > comp.lang.python > #32319

Re: SSH Connection with Python

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.002
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.05; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'url:github': 0.09; 'module:': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'wrote:': 0.17; 'windows': 0.19; 'module': 0.19; 'python?': 0.20; 'minor': 0.22; 'parse': 0.22; 'comment:': 0.23; 'host': 0.24; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'looks': 0.26; 'supported': 0.26; 'am,': 0.27; 'header:X-Complaints-To:1': 0.28; "i'm": 0.29; 'him.': 0.33; 'platforms.': 0.33; 'to:addr:python-list': 0.33; 'jason': 0.35; 'remote': 0.35; 'received:org': 0.36; 'but': 0.36; 'subject:with': 0.36; 'subject:: ': 0.38; 'some': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'note:': 0.64
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Gelonida N <gelonida@gmail.com>
Subject Re: SSH Connection with Python
Date Sun, 28 Oct 2012 21:15:52 +0100
References <5089119A.2040902@globe.de> <CANy1k1gV4s8kg0qneZ-gvybiR_y4NwhH_2gR8cdKTmPi7DckWg@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host unicorn.dungeon.de
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121011 Thunderbird/16.0.1
In-Reply-To <CANy1k1gV4s8kg0qneZ-gvybiR_y4NwhH_2gR8cdKTmPi7DckWg@mail.gmail.com>
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.2977.1351455364.27098.python-list@python.org> (permalink)
Lines 15
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1351455364 news.xs4all.nl 6842 [2001:888:2000:d::a6]:46386
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:32319

Show key headers only | View raw


On 10/26/2012 05:22 AM, Jason Friedman wrote:
>> 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.
>


Just a minor comment:  The sh module looks intersting, but it's not 
supported for Windows platforms.

Please note: I'm not the original poster, so perhaps this is no issue 
for him.

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


Thread

Re: SSH Connection with Python Gelonida N <gelonida@gmail.com> - 2012-10-28 21:15 +0100
  Re: SSH Connection with Python Roy Smith <roy@panix.com> - 2012-10-29 09:10 -0400
    Re: SSH Connection with Python Gelonida N <gelonida@gmail.com> - 2012-10-29 22:51 +0100
      Re: SSH Connection with Python Roy Smith <roy@panix.com> - 2012-10-29 18:08 -0400

csiph-web