http://www.perlmonks.org?node_id=1085031


in reply to Re^4: Unable to do SCP on multiple machines using Perl's Net::SCP::Expect module
in thread Unable to do SCP on multiple machines using Perl's Net::SCP::Expect module

Are you able to log from the command line?
ssh -vv -i "/home/tom/.ssh/id_file" hostname