Displaying 1 result from an estimated 1 matches for "draakje".
Did you mean:
draak
2010 Apr 19
1
no logging in auth.log when using wrong ssh keys
...ged in auth.log
And I really like to have them in order to detect them and use the
denyhosts script.
Looked in the last nightly builds, but it seems that only method '
password' is being logged.
So I added one line, so that also failed publickey logins are being
logged in auth.log
hans at Draakje:~/src/openssh$ diff -u auth.c auth_new.c
--- auth.c 2010-03-07 01:57:00.000000000 +0100
+++ auth_new.c 2010-04-19 19:58:21.564550068 +0200
@@ -263,6 +263,7 @@
if (authenticated == 1 ||
!authctxt->valid ||
authctxt->failures >= options.max_authtries / 2 ||
+ strcmp(method,...