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

[no subject]



Michael Hirsch wrote:
> 
> That's been a bug in the documentation for years.  It never has said
> authorized_keys2 in any man page I've read, but it has been necessary
> for quite a while.
> 
> Is it possible that your key file is in DOS mode and that corrupted
> the authorized_keys2 file?  I don't know how ssh responds to the
> presence of CRs.
> 
> Michael
> 

Public keys (e.g., those that go in authorized_keys) should not have any
newlines in them, be that UNIX, DOS, or old style Mac newlines.  The
authorized_keys file only has one newline per key, seperating the keys.

The private keys should only have UNIX newlines to be safe, and I don't
know about other distributions, but todos(1) and fromdos(1) are standard
on mine.

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

iD8DBQFCpzDdPXInbkqM7nwRA2UmAJsFSEAr2+8hMfc1zqU1Ryhl10YhiQCeKIiP
yfMCIyv96BdyD4mylzuzFHY=
=LezH
-----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>
<li><strong><a name="00371" href="msg00371.html">[ale] ssh authorized_keys2, what am I missing?</a></strong>
<ul><li><em>From:</em> mdhirsch at gmail.com (Michael Hirsch)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00372.html">[ale] ssh authorized_keys2, what am I missing?</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00374.html">[ale] ssh authorized_keys2, what am I missing?</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00371.html">[ale] ssh authorized_keys2, what am I missing?</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00372.html">[ale] ssh authorized_keys2, what am I missing?</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00373"><strong>Date</strong></a></li>
<li><a href="threads.html#00373"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

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