Path: csiph.com!usenet.pasdenom.info!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; '(at': 0.03; 'subject:Python': 0.05; 'binary': 0.05; 'executable': 0.07; 'python': 0.09; 'command.': 0.09; 'linux.': 0.09; 'cc:addr:python- list': 0.10; '2.7': 0.13; '2.7.3': 0.16; 'from:addr:cs': 0.16; 'from:addr:zip.com.au': 0.16; 'from:name:cameron simpson': 0.16; 'idiocy': 0.16; 'libc': 0.16; 'message-id:@cskk.homeip.net': 0.16; 'reasonably': 0.16; 'received:202.125.174': 0.16; 'received:202.125.174.133': 0.16; 'received:boardofstudies.nsw.edu.au': 0.16; 'received:cskk.homeip.net': 0.16; 'received:edu.au': 0.16; 'received:harvey.boardofstudies.nsw.edu.au': 0.16; 'received:homeip.net': 0.16; 'received:nsw.edu.au': 0.16; 'roy': 0.16; 'simpson': 0.16; 'ssh': 0.16; 'subprocess': 0.16; 'wrote:': 0.17; 'thanks,': 0.18; 'windows': 0.19; 'module': 0.19; 'either.': 0.22; 'precise': 0.22; 'cc:2**0': 0.23; "python's": 0.23; 'cc:no real name:2**0': 0.24; 'linux': 0.24; 'least': 0.25; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header :User-Agent:1': 0.26; 'ago': 0.27; 'am,': 0.27; "doesn't": 0.28; 'fine': 0.28; 'installed,': 0.29; 'invoke': 0.29; 'probably': 0.29; "i'm": 0.29; 'install': 0.29; 'running': 0.32; 'could': 0.32; 'problem': 0.33; 'another': 0.33; "can't": 0.34; 'exist': 0.35; 'there': 0.35; 'depends': 0.36; 'received:au': 0.36; 'subject:with': 0.36; 'should': 0.36; 'charset:us-ascii': 0.36; 'subject:: ': 0.38; 'sure': 0.38; 'release': 0.39; 'your': 0.60; 'content-disposition:inline': 0.60; 'between': 0.63; 'box.': 0.65; 'talking': 0.66; 'smith': 0.71; 'article': 0.78; 'kit': 0.78; 'gelonida': 0.84; 'myself)': 0.84; 'pycrypto': 0.84; 'recompile': 0.84 Date: Sun, 28 Oct 2012 11:35:23 +1100 From: Cameron Simpson To: Gelonida N Subject: Re: SSH Connection with Python MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) References: 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 33 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1351384536 news.xs4all.nl 6942 [2001:888:2000:d::a6]:60052 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:32295 On 27Oct2012 14:18, Gelonida N wrote: | On 10/27/2012 02:21 AM, Roy Smith wrote: | > In article , | > Gelonida N wrote: | > | >> Another problem is, that paramiko depends on pycrypto 2.1+ | >> which doesn't exist as binary release for python 2.7 | > | > I'm running paramiko-1.7.6 with python 2.7.3 on my Ubunto Precise box. | > I'm reasonably sure all I did was "pip install paramiko". | | Apologies. I failed to mention, that I was talking about Windows not Linux. | | I use Python for applications, that should work under Linux and under | Windows. | | > But, keep in mind that fabric depends on paramiko. If you can't get | > paramiko installed, you probably can't get fabric either. | > | Thanks, that's good to know, so I don't have to bother looking at farbic | (at least not as solution on windows python 2.7 without having to try to | recompile pycrypto myself) Many years ago we ran an ssh executable on Windows; it was a tiny standalone kit consisting, IIRC, of the Cygwin libc and ssh. Or you could just install Cygwin... That would let you use Python's subprocess module to invoke ssh and dispatch your command. -- Cameron Simpson There is a fine line between idiocy and genius. We aim to erase that line.