Commit Graph

5 Commits (a7cfb9f2c3dc239e06e07921d4ebc05252859381)

Author SHA1 Message Date
zeripath 980b0df829
Standardise logging of failed authentication attempts in internal SSH ()
Continuing on from  continue to improve and standardise
logging from internal SSH.

Also updates the fail2ban setup

Signed-off-by: Andrew Thornton <art27@cantab.net>
Patrick Schratz af79677a44
Reformat docs ()
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Lauris BH <lauris@nix.lv>
Eric Lesiuta abb9cffe4a
Log IP on SSH authentication failure for Built-in SSH server ()
* Log IP on SSH authentication failure

fixes https://github.com/go-gitea/gitea/issues/13094

* include string 'Failed authentication attempt' in error

* update fail2ban docs

also match failed authentication over command line

* better logging of authentication errors with IP addresses

* format ...

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: 6543 <6543@obermui.de>
Jesse Laprade 5b75f17043
Fixed the log path on fail2ban page ()
* Changed path from /home/git/gitea/log/gitea.log to
  /var/lib/gitea/log/gitea.log on the fail2ban page, so the log matches
  the instructions found on the following binary installation page:
  https://docs.gitea.io/en-us/install-from-binary/#create-required-directory-structure
raoulb a43cf283de
Fix hugo shortcode typo in faq ()
* Fix hugo shortcode typo in faq

* Switch to using language tags