I suggest not using net::ssh. It is slower than molasses.
System calls? Not very secure... but it would work...
I would say perl is probably the wrong tool for this job. But that's
just my opinion.
-Matt
On May 19, 2008, at 9:12 AM, <[EMAIL PROTECTED]> wrote:
Hi Dear Friends,
I want to connect to remote m/c through ssh to do the testing
at remote m/c, which we can do with ssh ( but I have not done).
And my question is, How can we interface the ssh to our perl script so
that our perl will take care of all things, like
1) connecting to remote m/c once we execute the perl script through
ssh.
2) How to run the application at remote side.
And if you have code example, please send me across.
Hope I am clear here, if not please tell me.
Regards,
Mustafa
Please do not print this email unless it is absolutely necessary.
The information contained in this electronic message and any
attachments to this message are intended for the exclusive use of
the addressee(s) and may contain proprietary, confidential or
privileged information. If you are not the intended recipient, you
should not disseminate, distribute or copy this e-mail. Please
notify the sender immediately and destroy all copies of this message
and any attachments.
WARNING: Computer viruses can be transmitted via email. The
recipient should check this email and any attachments for the
presence of viruses. The company accepts no liability for any damage
caused by any virus transmitted by this email.
www.wipro.com
This e-mail is intended only for the named person or entity to which it is addressed and contains valuable
business information that is proprietary, privileged, confidential and/or otherwise protected from disclosure.
If you received this e-mail in error, any review, use, dissemination, distribution or copying of this e-mail
is strictly prohibited. Please notify us immediately of the error via e-mail to [EMAIL PROTECTED] and
please delete the e-mail from your system, retaining no copies in any media. We appreciate your cooperation.