You can also put that information on ~/.ssh/config (see ssh_config).$sftp1 = Net::SFTP::Foreign->new($host1, key_path => '/path/to/id_dsa' +); $sftp2 = Net::SFTP::Foreign->new($host1, key_path => '/path/to/id_rsa' +); ...
In reply to Re: Net::SFTP::Foreign key_path
by salva
in thread Net::SFTP::Foreign key_path
by KevinBr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |