Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^3: sftp connection through perl

by salva (Abbot)
on Mar 12, 2013 at 14:35 UTC ( #1022987=note: print w/ replies, xml ) Need Help??


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

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.


Comment on Re^3: sftp connection through perl

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2015-07-28 06:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (252 votes), past polls