[Bug 1841] New: Error message if key not first in authorized_keys file

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Tue Nov 23 03:07:57 EST 2010


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

           Summary: Error message if key not first in authorized_keys file
           Product: Portable OpenSSH
           Version: 5.6p1
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: sshd
        AssignedTo: unassigned-bugs at mindrot.org
        ReportedBy: anders.liljegren at uadm.uu.se


If a public key occurs twice in the authorized_keys file but with
different IP addresses or domain names in the "from=" field, and if the
a connection is made from the IP address or domain name of the latter,
then the following error message is printed twice in the log:

Nov 22 16:31:27 alaemon sshd[11763]: Authentication tried for anders
with correct key but not from a permitted host (host=anders2.its.uu.se,
ip=130.238.131.143).
Nov 22 16:31:33 alaemon sshd[11763]: Authentication tried for anders
with correct key but not from a permitted host (host=anders2.its.uu.se,
ip=130.238.131.143).

The authorized_keys file is attached.

This bug is related to bug 1765 and explains why the fix for that bug
didn't solve my problem.

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


More information about the openssh-bugs mailing list