in reply to Net::SFTP::Foreign does not support both passphrase and password?

Net::SFTP::Foreign is not able to authenticate the user using both a password and a passphrase protected key.

But you can handle the authentication yourself using some tool like Expect and then pass Net::SFTP::Foreign just the open connection. See the sample script passwd_conn.pl.

  • Comment on Re: Net::SFTP::Foreign does not support both passphrase and password?