rsyslog a bad idea? Problems with ssh, openssh-server, fail2ban
#3
(11-09-2021, 02:51 AM)vongillus Wrote: I think that you should make sure that rsyslog writes to a ramdisk and not persistent storage like eMMC or SD card. This to prevent too many write cycle on flash storage. Check may be if other logs are not already available on the default Mobian which would be compatible with fail2ban.

Thank you!

That was a good hint: As I found out, there's no need to install rsyslog (even though that does work); all you need to do is to copy the file /etc/fail2ban/jail.conf as jail.local, open that newly created file /etc/fail2ban/jail.local and change "backend = auto" to "backend = systemd".

Then fail2ban works.

However, after proceeding further, a troubling question occurred to me:

If I use a key instead of a password and ban ssh from accepting passwords altogether ("PasswordAuthentication no" in etc/ssh/sshd_config) is there any benefit at all in using fail2ban? Or was the whole installation completely futile? Would it even be better to purge it?
  Reply


Messages In This Thread
RE: rsyslog a bad idea? Problems with ssh, openssh-server, fail2ban - by Anna - 11-09-2021, 11:14 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  ssh server unreachable lesteretsel 2 2,596 12-19-2024, 02:44 PM
Last Post: lesteretsel
  PureMaps and OSM Scout Server maps download biketool 7 8,011 10-04-2024, 04:25 AM
Last Post: vusra
  Stability problems with 6.1 kernel Zebulon Walton 9 7,789 05-12-2023, 08:09 AM
Last Post: zetabeta
  DNS Problems with Mobile Data arno_nuehm 29 32,330 10-29-2022, 09:16 AM
Last Post: treebeard
  Problems after Tow-Boot Dinosaur1946 3 3,995 09-18-2022, 12:48 AM
Last Post: SpaggettiCoder
  Will this battery-saving script cause problems? rp3 1 2,902 08-28-2022, 02:00 PM
Last Post: biketool
  Tow-boot problems and restoring uboot Zebulon Walton 15 16,394 08-14-2022, 11:09 AM
Last Post: shulamy
  How to enable SSH server? jnpine 16 28,264 04-02-2022, 11:10 AM
Last Post: RTP
  Browser cog - Problems on Mobian arno_nuehm 5 7,847 02-10-2022, 03:27 PM
Last Post: pothos
  ARM Microsoft Teams-problems installing eaglebeckley 15 23,744 01-14-2022, 01:59 AM
Last Post: Tazdevl

Forum Jump:


Users browsing this thread: 1 Guest(s)