Re: How Can I use ssh in my perl code



What is not clear is how this is dbi related. Unless there is a dbi related
question, I'd suggest that you'd be better served if you asked this question
over at perl monks.

On Mon, May 19, 2008 at 9:12 AM, <mohammed.mustafa@xxxxxxxxx> 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




--
They who would give up an essential liberty for temporary security, deserve
neither liberty or security.
Benjamin Franklin

Our lives begin to end the day we become silent about things that matter.
Martin Luther King

The right of the people to be secure in their persons, houses, papers, and
effects, against unreasonable searches and seizures, shall not be violated,
and no warrants shall issue, but upon probable cause, supported by oath or
affirmation, and particularly describing the place to be searched, and the
persons or things to be seized.

Amendment IV to the Constitution of the United States

"I am not going to answer any questions as to my association, my
philosophical or religious beliefs or my political beliefs, or how I voted
in any election, or any of these private affairs. I think these are very
improper questions for any American to be asked, especially under such
compulsion as this."
Pete Seeger before the House Un-American Activities Comittee


Relevant Pages

  • Re: How Can I use ssh in my perl code
    ... I want to connect to remote m/c through ssh to do the testing ... at remote m/c, which we can do with ssh. ... attachments to this message are intended for the exclusive use of the ... Computer viruses can be transmitted via email. ...
    (perl.dbi.users)
  • RE: How Can I use ssh in my perl code
    ... I want to connect to remote m/c through ssh to do the testing ... at remote m/c, which we can do with ssh. ... attachments to this message are intended for the exclusive use of the ... Computer viruses can be transmitted via email. ...
    (perl.dbi.users)
  • How Can I use ssh in my perl code
    ... at remote m/c, which we can do with ssh. ... connecting to remote m/c once we execute the perl script through ssh. ... Computer viruses can be transmitted via email. ...
    (perl.dbi.users)
  • Re: How Can I use ssh in my perl code
    ... I would say perl is probably the wrong tool for this job. ... at remote m/c, which we can do with ssh. ... The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addresseeand may contain proprietary, ...
    (perl.dbi.users)
  • Re: ssh processes lingering after scp
    ... The command issued by the perl script is: ... Was it Solaris? ... implementation of ssh. ... I found the problem went away when I removed the sun ssh implementation, ...
    (SSH)