The os I am using is window Xp.
Thanks&Regards, Vikas Saini **** Do or do not. There is no try. **** -----Original Message----- From: Evan Klitzke [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 20, 2007 10:21 AM To: Vikas Saini Cc: python-list@python.org Subject: Re: Execute script on remote computer On 6/19/07, Vikas Saini <[EMAIL PROTECTED]> wrote: > I am trying to run the agent on one machine that will execute the script of > a remote machine. It's not clear what OS you're using. But if you're running a Unix/Linux system and it's a relatively simple script that you want to run, you should just use the ssh command coupled with the name of the command you want to run (you don't even need the agent to use python, necessarily). For example, ssh [EMAIL PROTECTED] bar Will ssh to machine 'foo' as user 'user' and execute command 'bar' on that machine (rather than launching a shell, which is what ssh will do if no command is specified). When the command exits, ssh will exit as well. -- Evan Klitzke <[EMAIL PROTECTED]> "Legal Disclaimer: This electronic message and all contents contain information from Cybage Software Private Limited which may be privileged, confidential, or otherwise protected from disclosure. The information is intended to be for the addressee(s) only. If you are not an addressee, any disclosure, copy, distribution, or use of the contents of this message is strictly prohibited. If you have received this electronic message in error please notify the sender by reply e-mail to and destroy the original message and all copies. Cybage has taken every reasonable precaution to minimize the risk of malicious content in the mail, but is not liable for any damage you may sustain as a result of any malicious content in this e-mail. You should carry out your own malicious content checks before opening the e-mail or attachment." www.cybage.com -- http://mail.python.org/mailman/listinfo/python-list