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

But can you post the output?

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

  • Comment on Re^8: Issue in SFTP connection using Net::SFTP::Foreign-

Replies are listed 'Best First'.
Re^9: Issue in SFTP connection using Net::SFTP::Foreign-
by salva (Canon) on Jun 21, 2016 at 13:20 UTC
    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