my $sftp = Net::SFTP::Foreign->new($host, user => $user, more => [-i => $key]);
On Windows, you can also use the Net::SSH2 backend, Net::SFTP::Foreign::Backend::Net_SSH2, that supports password authentication without requiring any other module.
In reply to Re: net::sftp::foreign, where to put public keys
by salva
in thread net::sftp::foreign, where to put public keys
by deadpickle
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |