summaryrefslogtreecommitdiffhomepage
path: root/auth.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2005-09-20 08:59:46 +0000
committerMatt Johnston <matt@ucc.asn.au>2005-09-20 08:59:46 +0000
commitcb2cb15916497f790c1d420ccff858446772780c (patch)
treecadf02161806fd86215414d50a72f098c9552c1e /auth.h
parent351053168313c6bd5f9bb10b766d851b6a4b2f73 (diff)
Log when pubkey auth fails because of bad pubkey perms/ownership
--HG-- extra : convert_revision : 43e1a0c8365776577acd814d708027fcddcb02ef
Diffstat (limited to 'auth.h')
-rw-r--r--auth.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/auth.h b/auth.h
index 548e017..6d6ebc7 100644
--- a/auth.h
+++ b/auth.h
@@ -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 */