* identity_files ... If you don't provide this, RSA authentication defaults to using $ENV{HOME}/.ssh/identity, and DSA authentication defaults to $ENV{HOME}/.ssh/id_dsa. #### my $ssh = Net::SSH::Perl->new( $host, identity_files => ["$ENV{HOME}/.ssh/id_rsa.pub"], );