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"} ) );
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: net sftp help
by fizbin (Chaplain) on Mar 17, 2006 at 21:07 UTC | |
by perlknight (Pilgrim) on Mar 18, 2006 at 16:52 UTC | |
Re: net sftp help
by Argel (Prior) on Mar 17, 2006 at 21:20 UTC | |
by perlknight (Pilgrim) on Mar 18, 2006 at 16:29 UTC | |
by Argel (Prior) on Mar 21, 2006 at 20:35 UTC | |
Re: net sftp help
by Plankton (Vicar) on Mar 17, 2006 at 20:33 UTC |
Back to
Seekers of Perl Wisdom