Log when pubkey auth fails because of bad pubkey perms/ownership

--HG--
extra : convert_revision : 43e1a0c8365776577acd814d708027fcddcb02ef
This commit is contained in:
Matt Johnston
2005-09-20 08:59:46 +00:00
parent 3510531683
commit cb2cb15916
2 changed files with 16 additions and 3 deletions

3
auth.h
View File

@@ -77,6 +77,9 @@ struct AuthState {
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 */