Try renaming the file on the server to authorized_keys2 .<br>
Also another problem could be the permissions of the file
authorized_keys2 . It should ideally have the permission bits set to
0644 .........maybe that could be the problem ...<br>
<br>
Regards<br>
Shamsheer<br><br><div><span class="gmail_quote">On 10/14/05, <b class="gmail_sendername">Reinhard Tartler</b> <<a href="mailto:siretart@gmail.com">siretart@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 10/14/05, David <<a href="mailto:david@kenpro.com.au">david@kenpro.com.au</a>> wrote:<br>> I'm trying to use dsa key pairs so that I can ssh in a cron script without<br>> passwords. I've generated the key pair, then copied the public key to the
<br>> server. Client is Hoary, and server is Debian Sarge.<br>><br>> When I ssh, I get asked for a password. Is there some step I'm missing? Is<br>> there something in the sshd_config or ssh_config that needs fixing?
<br><br>A less obvious reason for this behaviour could be wrong permissions of<br>your home directory on the remote side. Try on the remote site<br>checking /var/log/auth.log and /var/log/damon.log. Sshd should give<br>you some diagnostics in this case.
<br><br>--<br>regards,<br>    Reinhard<br><br>--<br>ubuntu-users mailing list<br><a href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</a><br><a href="http://lists.ubuntu.com/mailman/listinfo/ubuntu-users">
http://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a><br></blockquote></div><br><br clear="all"><br>-- <br>"Never let your sense of morals prevent you from doing what is right!" <br>   - "Salvor Hardin , Foundation " , Isaac Asimov