Execute Commands on Remote Computers over Network

Steve Holden steve at holdenweb.com
Thu Jun 29 08:54:17 EDT 2006


Lawrence D'Oliveiro wrote:
> In article <1151443795.343874.290790 at u72g2000cwu.googlegroups.com>,
>  "dylpkls91" <dpickles at pacbell.net> wrote:
> 
> 
>>Lawrence D'Oliveiro wrote:
>>
>>>In article <1151378614.481850.271340 at c74g2000cwc.googlegroups.com>,
>>> "dylpkls91" <dpickles at pacbell.net> wrote:
>>>
>>>
>>>>I have been researching this topic and come up with some code to make
>>>>it work. It uses SSL and requires the 3rd party package Paramiko (which
>>>>requires PyCrypto).
>>>
>>>Why not just spawn an invocation of SSH?
>>
>>Can you explain what this means, and how I could do it in Python?
> 
> 
> SSH is the standard means of remotely executing commands on one *nix 
> system from another <http://www.openssh.com/>. It is included with all 
> self-respecting *nix systems these days. You can set up a trust 
> relationship between particular accounts on two systems, so one can 
> connect to the other without a password. All communication is encrypted 
> to lock out eavesdroppers.

Also note that Cygwin gives you openssh in a Unix-shell-like 
environment. Has its own Python too, though you don't do things in 
Cygwin for performance, usually.

regards
  Steve
-- 
Steve Holden       +44 150 684 7255  +1 800 494 3119
Holden Web LLC/Ltd          http://www.holdenweb.com
Love me, love my blog  http://holdenweb.blogspot.com
Recent Ramblings     http://del.icio.us/steve.holden




More information about the Python-list mailing list