That's exactly what I'm looking for!
Thanks,
Mike
> Subject:
> Re: [Tutor] RSH?
> From:
> Bernard Lebel <[EMAIL PROTECTED]>
> Date:
> Thu, 3 Nov 2005 14:16:40 -0500
> To:
> tutor@python.org
>
> To:
> tutor@python.org
>
>
> I use
If we had Python on VMS(which I'm working on), I'd definitely look into Pyro.
Thanks,
Mike
> Subject:
> Re: [Tutor] RSH?
> From:
> Pujo Aji <[EMAIL PROTECTED]>
> Date:
> Thu, 3 Nov 2005 18:44:11 +0100
> To:
> Mike Hansen <[EMAIL PROTECTED]>
&
+++ Bernard Lebel [03-11-05 14:16 -0500]:
| I use plink
| http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
|
| Basically you send a system command (os.system) to the plink
| executable. The actuall command will take this form:
|
| os.system( 'plink -pw %s -ssh [EMAIL PROTECTED] %s'
I use plink
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
Basically you send a system command (os.system) to the plink
executable. The actuall command will take this form:
os.system( 'plink -pw %s -ssh [EMAIL PROTECTED] %s' % ( password, user, hostIP,
command ) )
Now, if you
try pyro.
Cheers,
pujo
On 11/3/05, Mike Hansen <[EMAIL PROTECTED]> wrote:
Anyone know of a way to have Python run a command on a remote machine? In myparticular case, I want to run a python program on Windows and run a command on
VMS. Would the telnetlib module do it, or is there something bette