Creating a bug report/issue
If I enter an incorrect password on an ssh connection attempt, and do this multiple times (trying different passwords from 1Pass) the server locks up. Any new ssh attempt never responds, and all DNS (Pi-hole) is suspended until I hard reboot the device. I’m using OpenSSH as I do on many other Amazon and Ubuntu linux servers, and only see this reaction on DietPi.
I would love to know any tips on what to check or change, other than entering the right password of course
Required Information
- DietPi version |
v8.13.2
- Distro version |
bullseye 0
- Kernel version |
Linux 5.15.84-v8+ #1613 SMP PREEMPT Thu Jan 5 12:03:08 GMT 2023 aarch64 GNU/Linux
- SBC model |
RPi 3 Model B+ (aarch64)
- SD card used | SanDisk ultra
Additional Information (if applicable)
- Software title | Pi-Hole
- Was the software title installed freshly or updated/migrated? - No been in place for > 1 year
- Can this issue be replicated on a fresh installation of DietPi? - have not attempted
Steps to reproduce
- ssh to server, enter wrong password multiple times
- retry ssh and it does not respond
Expected behaviour
- Connection reset and ability to retry ssh as long as not hitting any throttled iterations (no fail2ban installed - not sure why the system locks up and does not just prevent immediate retry, such as wait 5 minutes, etc.
Actual behaviour
- consecutive wrong passwords (4-5?) receive permission denied and connection terminated. Device becomes unusable until hard power reboot, all services seem to be suspended/hung.
Extra details
- …