Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Python (http://www.velocityreviews.com/forums/f43-python.html)
-   -   Re: SSH Connection with Python (http://www.velocityreviews.com/forums/t953988-re-ssh-connection-with-python.html)

Gelonida N 10-28-2012 08:15 PM

Re: SSH Connection with Python
 
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/tutoria...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.


Roy Smith 10-29-2012 01:10 PM

Re: SSH Connection with Python
 
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.

Gelonida N 10-29-2012 09:51 PM

Re: SSH Connection with Python
 
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.







Roy Smith 10-29-2012 10:08 PM

Re: SSH Connection with Python
 
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 :-)


All times are GMT. The time now is 01:37 PM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57