Re: How Can I use ssh in my perl code



ssh is a secure replacement for rlogin/telnet. You
probably mean ssl (secure sockets layer) for your
database connections. Assuming that you have the
correct software installed, it should be transparent
to your perl/DBI/DBD code.

regards,

David
--- Jeffrey Seger <jseger@xxxxxxxxx> wrote:

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: [Full-disclosure] Why Vulnerability Databases cant do everything
    ... best to relegate programming to a ... is a big difference between these two views of information security. ... but not nearly as important as designing secure systems. ... My favorite example to illustrate this point - ssh. ...
    (Bugtraq)
  • Questions on secure remote access to Fedora Core 2
    ... I am somewhat new to Internet security solutions in general and Linux ... I am setting up a server with Fedora Core 2 (there are specific reasons ... What is the most secure method I can use to give these individuals access ... under ssh. ...
    (comp.os.linux.security)
  • Re: 9.1 Install: Holes in Security in Default install
    ... ssh is better known as the "secure shell". ... instead of "-a" to see network addresses and port numbers rather than ... > With Mandrake I was given the option at install to close all these ports, ...
    (alt.os.linux.suse)
  • Re: RE: Telnet/SSL v SSH
    ... My real question is which is better to secure the communication between them. ... I'm interested in authentication and non-repudiation if possible. ... >nearly the same robustness as SSH from the perspective of Authentication, ...
    (Security-Basics)

Loading