[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Wed Jun 8 13:28:45 2005 -->
- <!--x-from-r13: sq0zna ng tznvy.pbz ([vpunry P. Fenhfpu) -->
- <!--x-message-id: [email protected] -->
- <!--x-reference: [email protected] --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] ssh authorized_keys2, what am I missing? -->
- <li><em>date</em>: Wed Jun 8 13:28:45 2005</li>
- <li><em>from</em>: fd0man at gmail.com (Michael B. Trausch)</li>
- <li><em>in-reply-to</em>: <<a href="msg00360.html">[email protected]</a>></li>
- <li><em>references</em>: <<a href="msg00360.html">[email protected]</a>></li>
- <li><em>subject</em>: [ale] ssh authorized_keys2, what am I missing?</li>
- Hash: RIPEMD160
Grant Robertson wrote:
> This is driving me nuts. Any suggestions appreciated.
>
> Debian 3.1, openssh 3.8.1p1 / Putty
>
> I'm trying to use an RSA key to authenticate an ssh client connection,
> but the key is refused. I've set logging to DEBUG in the sshd_config,
> and it does show that it's attempting the keyfiles, but it doens't
> give me detail on the failure. The authorized_keys2 file is set to 640
> (I've also tried 440, 400, 600).
>
> I'm lost as for what to try next, any suggestions?
>
If you're following this list, cool, but I'd check against it.
On the server:
(a) You're putting the public key in .ssh/authorized_keys2
(b) .ssh/authorized_keys2 hard linked with .ssh/authorized_keys
On the client:
(a) The file .ssh/id_rsa is the private key
(b) /etc/ssh/ssh_config has the right IdentityFile settings:
IdentityFile ~/.ssh/identity
IdentityFile ~/.ssh/id_rsa
IdentityFile ~/.ssh/id_dsa
That's the only stuff I can think of at the moment, however.
Also, the entire .ssh directory on both sides must be 0600 permission,
and the files within it (all of them) should be 0600 as well.
- Mike
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - <a rel="nofollow" href="http://enigmail.mozdev.org">http://enigmail.mozdev.org</a>
iD8DBQFCpyhQPXInbkqM7nwRA/exAJ9bKCshPuxVEfwIEyGPQYqNvK9MqgCffZpg
LXTLihiPfmLll96RnvmJooc=
=R2nV
-----END PGP SIGNATURE-----
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="00366" href="msg00366.html">[ale] ssh authorized_keys2, what am I missing?</a></strong>
<ul><li><em>From:</em> jasonday at worldnet.att.net (Jason Day)</li></ul></li>
<li><strong><a name="00376" href="msg00376.html">[ale] ssh authorized_keys2, what am I missing?</a></strong>
<ul><li><em>From:</em> joe.sechman at gmail.com (Joe Sechman)</li></ul></li>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00360" href="msg00360.html">[ale] ssh authorized_keys2, what am I missing?</a></strong>
<ul><li><em>From:</em> f.grant.robertson at gmail.com (Grant Robertson)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00362.html">[ale] ssh authorized_keys2, what am I missing?</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00364.html">[ale] ssh authorized_keys2, what am I missing?</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00364.html">[ale] ssh authorized_keys2, what am I missing?</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00366.html">[ale] ssh authorized_keys2, what am I missing?</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00363"><strong>Date</strong></a></li>
<li><a href="threads.html#00363"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>