mirror of
https://github.com/clearml/dropbear
synced 2025-06-26 18:17:32 +00:00
Log when pubkey auth fails because of bad pubkey perms/ownership
--HG-- extra : convert_revision : 43e1a0c8365776577acd814d708027fcddcb02ef
This commit is contained in:
3
auth.h
3
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 */
|
||||
|
||||
Reference in New Issue
Block a user