[Bug 1841] Error message if key occurs twice in authorized_keys file

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Fri Nov 26 07:51:29 EST 2010


https://bugzilla.mindrot.org/show_bug.cgi?id=1841

Damien Miller <djm at mindrot.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME

--- Comment #5 from Damien Miller <djm at mindrot.org> 2010-11-26 07:51:29 EST ---
Public keys are usually tried twice during authentication, initially to
query the server to determine whether it will accept the key and then
again, after generating a signature using the private half, to actually
authenticate.

As such, each line in authorized_keys will be evaluated twice. You
configuration is set up to cause this noise by listing the same key
with different access rules. To avoid the noise in your logs, combine
the two lines as

from="anders.its.uu.se,anders2.its.uu.se" ssh-dss AAAAB3N...

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list