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);
In reply to Net::SFTP::Foreign key_path by KevinBr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |