I have followed the tutorial, but even after a few days I get the same error message … “Too many authentication failures”.
I use Filezilla to connect to other servers without problems.
In the file2ban log I can see :
2020-09-22 08:42:28,539 fail2ban.filter [1512]: INFO [sshd] Ignore XX.YY.ZZZ.AA by ip
2020-09-22 08:42:28,540 fail2ban.filter [1512]: INFO [sshd] Ignore XX.YY.ZZZ.AA by ip
2020-09-22 08:42:28,540 fail2ban.filter [1512]: INFO [sshd] Ignore XX.YY.ZZZ.AA by ip
2020-09-22 08:42:28,540 fail2ban.filter [1512]: INFO [sshd] Ignore XX.YY.ZZZ.AA by ip
2020-09-22 08:42:28,541 fail2ban.filter [1512]: INFO [sshd] Ignore XX.YY.ZZZ.AA by ip
2020-09-22 08:42:28,542 fail2ban.filter [1512]: INFO [sshd] Ignore XX.YY.ZZZ.AA by ip
2020-09-22 08:42:28,578 fail2ban.filter [1512]: INFO [sshd] Ignore XX.YY.ZZZ.AA by ip
2020-09-22 08:42:33,587 fail2ban.filter [1512]: INFO [sshd] Ignore XX.YY.ZZZ.AA by ip
2020-09-22 08:42:33,588 fail2ban.filter [1512]: INFO [sshd] Ignore XX.YY.ZZZ.AA by ip
2020-09-22 08:42:33,588 fail2ban.filter [1512]: INFO [sshd] Ignore XX.YY.ZZZ.AA by ip
2020-09-22 08:42:33,588 fail2ban.filter [1512]: INFO [sshd] Ignore XX.YY.ZZZ.AA by ip
2020-09-22 08:42:33,589 fail2ban.filter [1512]: INFO [sshd] Ignore XX.YY.ZZZ.AA by ip
2020-09-22 08:42:33,589 fail2ban.filter [1512]: INFO [sshd] Ignore XX.YY.ZZZ.AA by ip
2020-09-22 08:42:33,591 fail2ban.filter [1512]: INFO [sshd] Ignore XX.YY.ZZZ.AA by ip
where XX.YY.ZZZ.AA is my IP … I have pressed only once on “connect” in Filezilla, but I can see 14 connection attempts in a few seconds. Maybe a setting in Filezilla or in Fail2Ban ?
Hello ljf, yes you are right, there are 14 ssh private keys in ~/.ssh/ … matching the number of connection attemps (14).
When I use a ssh private key on other servers, Filezilla usually asking to convert the file into Filezilla format, but it is not the case here. I have a connection using user : admin + password.
What shall I do then ? Do I need to change something in Filezilla in order to prevent this behavior ?
I wanted to stay with an “admin / pass” type of connection. The problem has been spotted, I will try to find a solution…
My goal was to upload two big video file (200Mo each) from my PC to the server (on a wordpress site). I usually edit the files via terminal but when I need to upload big files I usually use filezilla.
Hello,
I did not find how to set the parameters in filezilla. The setting for “logon type” is “ask for password” but the behavior is not as requested… a bug ? an unknown setting ? I don’t know
This will need more investigation but since I need a solution I have uploaded my big files to worpdress with sshfs and it worked just fine.