in reply to Re: Re: Net::SSH::Perl problems
in thread Net::SSH::Perl problems
* 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.
So if your identity is in id_rsa.pub maybe you should let the object know that during instantiation:
my $ssh = Net::SSH::Perl->new( $host, identity_files => ["$ENV{HOME}/.ssh/id_rsa.pub"], );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Net::SSH::Perl problems
by Crayola (Initiate) on May 28, 2003 at 15:30 UTC |