[ale] ssh authorized_keys2, what am I missing?

Michael H. Warfield mhw at wittsend.com
Wed Jun 8 13:42:00 EDT 2005


On Wed, 2005-06-08 at 13:28 -0400, 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?

	That's because it's an old deprecated feature that only applied to
certain versions of ssh.  Note step (b) above.  Make it a link (hard or
symbolic will work) between the two files and forget about it.

	Mike
-- 
 Michael H. Warfield    |  (770) 985-6132   |  mhw at WittsEnd.com  
  /\/\|=mhw=|\/\/       |  (678) 463-0932   |  http://www.wittsend.com/mhw/
  NIC whois:  MHW9      |  An optimist believes we live in the best of all
 PGP Key: 0xDF1DD471    |  possible worlds.  A pessimist is sure of it!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: This is a digitally signed message part




More information about the Ale mailing list