Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: sftp connection through perl

by Anonymous Monk
on Mar 12, 2013 at 12:35 UTC ( [id://1022971]=note: print w/replies, xml ) Need Help??


in reply to Re: sftp connection through perl
in thread sftp connection through perl

Thanks for repply. Below are the details: On server C ssh : OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008 OS: CentOS release 5.8 (Final) On server B ssh: OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008 OS: CentOS release 5.9 (Final)

Replies are listed 'Best First'.
Re^3: sftp connection through perl
by salva (Canon) on Mar 12, 2013 at 14:35 UTC
    Aha, I see what is happening! You are using a custom transport!!!

    Probably, your script is quite old, from the days when Net::SFTP::Foreign didn't support password authentication directly and Expect was used to establish the connection and log into the server.

    Nowadays, you can pass the user and password to Net::SFTP::Foreign constructor and let it handle everything for you.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1022971]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (2)
As of 2024-04-26 01:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found