my $files = [ '/usr/home/username/.ssh/identity' ]; my $ssh = Net::SSH::Perl->new("host", "identity_files" => $files);