[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



Jason Day wrote:
> On Wed, Jun 08, 2005 at 01:18:08PM -0400, Michael B. Trausch wrote:
> 
>>	(a) You're putting the public key in .ssh/authorized_keys2
>>	(b) .ssh/authorized_keys2 hard linked with .ssh/authorized_keys
> 
> 
> I can never remember when to use authorized_keys vs. authorized_keys2.
> I just checked the ssh man page, and it says:
> 
>     The file $HOME/.ssh/authorized_keys lists the public keys that are
>     permitted for logging in.
> 
> There is no mention of authorized_keys2.  This is for openssh 3.9_p1.
> Maybe authorized_keys2 is no longer used, or specific to ssh.com?
>

They're sometimes used and sometimes not.

The best solution is to hardlink them together.

And someone pointed out that the .ssh directory should be 0700, they are
correct.  I think I wrote 0600.... I haven't finished waking up yet, a
directory is virtually useless to a human if you don't have x permission
on it.

	- 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>

iD8DBQFCpy4CPXInbkqM7nwRA/7jAKCd4y6r6QcK56nI5EPPCTtIzhDZ1QCeML0c
di10yE4G86cIK249tsREIJM=
=JNR8
-----END PGP SIGNATURE-----


</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--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>
<li><strong><a name="00363" href="msg00363.html">[ale] ssh authorized_keys2, what am I missing?</a></strong>
<ul><li><em>From:</em> fd0man at gmail.com (Michael B. Trausch)</li></ul></li>
<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>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00371.html">[ale] ssh authorized_keys2, what am I missing?</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00373.html">[ale] ssh authorized_keys2, what am I missing?</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00373.html">[ale] ssh authorized_keys2, what am I missing?</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00376.html">[ale] ssh authorized_keys2, what am I missing?</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00372"><strong>Date</strong></a></li>
<li><a href="threads.html#00372"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>