If the server didn't let you in using your key, find the <em>PubkeyAuthentication</em> line in <i>/etc/ssh/sshd_config</i> and change it to <em>yes</em>. That should do it.<br clear="all"><br>-Beau<br>
<br><br><div class="gmail_quote">On Wed, Jan 7, 2009 at 9:10 AM, Luca Ferrari <span dir="ltr"><<a href="mailto:fluca1978@infinito.it">fluca1978@infinito.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
I'd like a user to ssh another host (both ubuntu 8.1) without being prompted<br>
for a password, so I copied the rsa (and also dsa) public keys to the target<br>
host, added these keys to the authorized_keys file but when I do ssh I'm<br>
prompted for a password, and I don't understand why. Here's an excerpet of the<br>
debug messages of the ssh client:<br>
<br>
debug1: Next authentication method: publickey<br>
debug1: Trying private key: /var/backups/.ssh/identity<br>
debug3: no such identity: /var/backups/.ssh/identity<br>
debug1: Offering public key: /var/backups/.ssh/id_rsa<br>
debug3: send_pubkey_test<br>
debug2: we sent a publickey packet, wait for reply<br>
debug1: Authentications that can continue: publickey,password<br>
debug1: Offering public key: /var/backups/.ssh/id_dsa<br>
debug3: send_pubkey_test<br>
debug2: we sent a publickey packet, wait for reply<br>
debug1: Authentications that can continue: publickey,password<br>
debug2: we did not send a packet, disable method<br>
debug3: authmethod_lookup password<br>
debug3: remaining preferred: ,password<br>
debug3: authmethod_is_enabled password<br>
<br>
<br>
anyone has an idea of what the problem could be?<br>
<br>
Thanks,<br>
Luca<br>
<font color="#888888"><br>
--<br>
ubuntu-users mailing list<br>
<a href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a><br>
</font></blockquote></div><br>