Mercurial > dropbear
diff 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 |
line wrap: on
line diff
--- a/auth.h Tue Sep 06 04:04:51 2005 +0000 +++ b/auth.h Tue Sep 20 08:59:46 2005 +0000 @@ -77,6 +77,9 @@ unsigned authdone : 1; /* 0 if we haven't authed, 1 if we have. Applies for client and server (though has differing [obvious] meanings). */ + unsigned perm_warn : 1; /* Server only, set if bad permissions on + ~/.ssh/authorized_keys have already been + logged. */ /* These are only used for the server */ char *printableuser; /* stripped of control chars, used for logs etc */