in reply to Specifying identify file with Net::SCP
Perusing the source, it looks like the command to be executed can be modified:
use Net::SCP; $Net::SCP::scp = "scp -i $identity_file"; $scp = Net::SCP->new( "hostname", "username" );
Ultimately, the flag handling should be rewritten in the module to allow full functionality ...
|
|---|