Commit 588072a
Re-add host to "Login attempt for nonexistent user" log
#83 removed the host from the final message part of early exit messages, and added it to the initial message part instead. This was however done for "Login attempt for nonexistent user" as well, which is no early exit message, but allows the client to keep trying. Those log entries hence now do not contain a host anymore.
This PR reverts this part of #83 to restore the missing host, and re-enable software like Fail2Ban to track these login failures.
Signed-off-by: MichaIng <[email protected]>1 parent cdfda00 commit 588072a
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
268 | | - | |
| 268 | + | |
| 269 | + | |
269 | 270 | | |
270 | 271 | | |
271 | 272 | | |
| |||
0 commit comments