perlknight has asked for the wisdom of the Perl Monks concerning the following question:
All,
I am trying to get net sftp to work without password authentication. I want it to use a pub keys. By default it uses id_dsa or identity file. I have a pub with different name. I try this:
Any idea, why it's not using the identify file, but each time it tried using id_dsa instead? Thanks.$sftp = Net::SFTP->new("myhost" , user=>"me", ssh_args => ( identify +_files => [ "PATH/.ssh/id_rsa" ,"PATH/.ssh/myid_file"],debug => '1', +options => {"RhostsAuthenication no"} ) );
Back to
Seekers of Perl Wisdom