Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^7: Issue in SFTP connection using Net::SFTP::Foreign-

by iit2011101 (Novice)
on Jun 21, 2016 at 13:03 UTC ( [id://1166194]=note: print w/replies, xml ) Need Help??


in reply to Re^6: Issue in SFTP connection using Net::SFTP::Foreign-
in thread Issue in SFTP connection using Net::SFTP::Foreign-

Yup its hanging for some seconds and then connection is getting closed by the remote host Connection to 121.241.2.65 closed by remote host.
  • Comment on Re^7: Issue in SFTP connection using Net::SFTP::Foreign-

Replies are listed 'Best First'.
Re^8: Issue in SFTP connection using Net::SFTP::Foreign-
by salva (Canon) on Jun 21, 2016 at 13:17 UTC
    But can you post the output?

    How long does it take the remote side to close the connection?

      Oh, wait, you are passing a password but using public key authentication. That's the problem!

      Remove the password option from the constructor.

        Thank you so much :) It worked

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1166194]
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: (9)
As of 2024-04-23 14:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found