http://qs321.pair.com?node_id=549031


in reply to Specifying identify file with Net::SCP

Net::SCP just wraps the scp program on your system. There doesn't seem to be a way to give options ( -i identify_file here ) to the actual scp binary. There is a $flags variable in the module itself that could be modified to do this, but that would be a bit nasty. Maybe better to modify the module to accept scp options and send a patch back to the author?