Double check @keyfile as it might be different.#!/usr/bin/perl use strict; use warnings; use Net::SSH::Perl; my $host = 'localhost'; my $user = 'user'; my @keyfile = ("/home/User/.ssh/id_rsa"); my $ssh = Net::SSH::Perl->new( $host, debug => 1, identity_files => \@keyfile );
In reply to Re: passphrase on a RSA key with net::ssh::perl
by Khen1950fx
in thread passphrase on a RSA key with net::ssh::perl
by manb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |