KevinBr has asked for the wisdom of the Perl Monks concerning the following question:
I am using Net::SFTP::Foreign in a script to connect to multiple remote servers. I have successfully used the key_path argument to connect to the first server using the DSA key:
But I need a the RSA key to connect to the next server. Is it possible to load both keys in to the key_path? If so, what is the syntax?%args = (user=>$f_user, key_path=>'/path/to/id_dsa', port=>$port);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Net::SFTP::Foreign key_path
by salva (Canon) on Mar 15, 2012 at 17:07 UTC |