comparison auth.h @ 248:bf64e666f99b

Log when pubkey auth fails because of bad pubkey perms/ownership
author Matt Johnston <matt@ucc.asn.au>
date Tue, 20 Sep 2005 08:59:46 +0000
parents aad4b3f58556
children efbaf6b03837
comparison
equal deleted inserted replaced
245:b24730e11c83 248:bf64e666f99b
75 valid */ 75 valid */
76 unsigned int failcount; /* Number of (failed) authentication attempts.*/ 76 unsigned int failcount; /* Number of (failed) authentication attempts.*/
77 unsigned authdone : 1; /* 0 if we haven't authed, 1 if we have. Applies for 77 unsigned authdone : 1; /* 0 if we haven't authed, 1 if we have. Applies for
78 client and server (though has differing [obvious] 78 client and server (though has differing [obvious]
79 meanings). */ 79 meanings). */
80 unsigned perm_warn : 1; /* Server only, set if bad permissions on
81 ~/.ssh/authorized_keys have already been
82 logged. */
80 83
81 /* These are only used for the server */ 84 /* These are only used for the server */
82 char *printableuser; /* stripped of control chars, used for logs etc */ 85 char *printableuser; /* stripped of control chars, used for logs etc */
83 struct passwd * pw; 86 struct passwd * pw;
84 87