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


Groups > comp.lang.python > #32319 > unrolled thread

Re: SSH Connection with Python

Started byGelonida N <gelonida@gmail.com>
First post2012-10-28 21:15 +0100
Last post2012-10-29 18:08 -0400
Articles 4 — 2 participants

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  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

#32319 — Re: SSH Connection with Python

FromGelonida N <gelonida@gmail.com>
Date2012-10-28 21:15 +0100
SubjectRe: SSH Connection with Python
Message-ID<mailman.2977.1351455364.27098.python-list@python.org>
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.

[toc] | [next] | [standalone]


#32371

FromRoy Smith <roy@panix.com>
Date2012-10-29 09:10 -0400
Message-ID<roy-294AF8.09105729102012@news.panix.com>
In reply to#32319
In article <mailman.2977.1351455364.27098.python-list@python.org>,
 Gelonida N <gelonida@gmail.com> wrote:

> The sh module looks intersting, but it's not supported for Windows 
> platforms.

"The X module looks interesting but it's not supported for Windows" is 
true for many values of X.  It's all part of the TCO of using a 
brain-dead operating system.

[toc] | [prev] | [next] | [standalone]


#32423

FromGelonida N <gelonida@gmail.com>
Date2012-10-29 22:51 +0100
Message-ID<mailman.3048.1351547492.27098.python-list@python.org>
In reply to#32371
On 10/29/2012 02:10 PM, Roy Smith wrote:
> In article <mailman.2977.1351455364.27098.python-list@python.org>,
>   Gelonida N <gelonida@gmail.com> wrote:
>
>> The sh module looks intersting, but it's not supported for Windows
>> platforms.
>
> "The X module looks interesting but it's not supported for Windows" is
> true for many values of X.  It's all part of the TCO of using a
> brain-dead operating system.

If I write server side code, then I choose my server and my OS, so I 
won't encounter Windows

Unfortunately most the customers won't let me choose their client 
hardware / client OS.

Thus I decide to write my applications cross platform whenever possible 
and try to choose libraries accordingly.





[toc] | [prev] | [next] | [standalone]


#32426

FromRoy Smith <roy@panix.com>
Date2012-10-29 18:08 -0400
Message-ID<roy-FEA1CA.18083629102012@news.panix.com>
In reply to#32423
In article <mailman.3048.1351547492.27098.python-list@python.org>,
 Gelonida N <gelonida@gmail.com> wrote:

> On 10/29/2012 02:10 PM, Roy Smith wrote:
> > In article <mailman.2977.1351455364.27098.python-list@python.org>,
> >   Gelonida N <gelonida@gmail.com> wrote:
> >
> >> The sh module looks intersting, but it's not supported for Windows
> >> platforms.
> >
> > "The X module looks interesting but it's not supported for Windows" is
> > true for many values of X.  It's all part of the TCO of using a
> > brain-dead operating system.
> 
> If I write server side code, then I choose my server and my OS, so I 
> won't encounter Windows
> 
> Unfortunately most the customers won't let me choose their client 
> hardware / client OS.
> 
> Thus I decide to write my applications cross platform whenever possible 
> and try to choose libraries accordingly.

The other alternative is to chose your customers better :-)

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web