diff options
author | Enrico204 <enrico204@gmail.com> | 2015-08-10 21:13:49 +0200 |
---|---|---|
committer | Enrico204 <enrico204@gmail.com> | 2015-08-10 21:13:49 +0200 |
commit | b7fccafeebc639746d2bd82042d28f4ef0f24648 (patch) | |
tree | e0ad9ef8cf6ea63aa364e4014f99dc334e789d57 /src/main | |
parent | f9f916bdd84f43e8aa50f03bab1274555940dfc2 (diff) | |
download | gitblit-b7fccafeebc639746d2bd82042d28f4ef0f24648.tar.gz gitblit-b7fccafeebc639746d2bd82042d28f4ef0f24648.zip |
Added better logging for fail2ban
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/com/gitblit/transport/ssh/UsernamePasswordAuthenticator.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/gitblit/transport/ssh/UsernamePasswordAuthenticator.java b/src/main/java/com/gitblit/transport/ssh/UsernamePasswordAuthenticator.java index c4e69dcd..d7c4fe5e 100644 --- a/src/main/java/com/gitblit/transport/ssh/UsernamePasswordAuthenticator.java +++ b/src/main/java/com/gitblit/transport/ssh/UsernamePasswordAuthenticator.java @@ -57,7 +57,7 @@ public class UsernamePasswordAuthenticator implements PasswordAuthenticator { return true; } - log.warn("could not authenticate {} for SSH using the supplied password", username); + log.warn("could not authenticate {} ({}) for SSH using the supplied password", username, client.getRemoteAddress()); return false; } } |