Hi,
I try to use this module to scp w/o passwd.
Public/private keys are well installed.
I am interestd in it because it got a auto_yes feature( to bypass "Are
you sure ... connecting(yes/no) ?")
But when using :
my $scpa =
Net::SCP::Expect->new(user=>'root',identity_file=>'/root/.ssh/id_dsa',host=>$host);
It asks me for a passwd . Why ? Am i wrong ? Others things to use ?
Note : I can ssh without passwd between hosts.
Thanks in advance
|