Fail2Ban and SFTP FileZilla

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
albeck
Posts: 15
Joined: Sun Dec 06, 2020 1:09 am

Fail2Ban and SFTP FileZilla

Post by albeck »

Fail2Ban prevents me from moving my files from the local drive into Wordpress using FileZilla, so how to permit temporary ip access for SFTP?
I've deleted Fail2Bn for now as couldn't work out how to set permissions and all is back to normal but I really want to use it.
User avatar
trendy
Posts: 202
Joined: Tue Feb 25, 2020 2:54 pm

Re: Fail2Ban and SFTP FileZilla

Post by trendy »

viewtopic.php?f=8&t=5&start=30#p452
It will block your IP after 3 failed attempts for 10 minutes.
albeck
Posts: 15
Joined: Sun Dec 06, 2020 1:09 am

Re: Fail2Ban and SFTP FileZilla

Post by albeck »

It lets me connect but prevents me moving files.
User avatar
Joulinar
Posts: 3340
Joined: Sat Nov 16, 2019 12:49 am

Re: Fail2Ban and SFTP FileZilla

Post by Joulinar »

easiest way to connect and to be able to move files, is to install OpenSSH Client (ID 0) and use a tool like WinSCP + SCP protocol.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
albeck
Posts: 15
Joined: Sun Dec 06, 2020 1:09 am

Re: Fail2Ban and SFTP FileZilla

Post by albeck »

Thank you
User avatar
trendy
Posts: 202
Joined: Tue Feb 25, 2020 2:54 pm

Re: Fail2Ban and SFTP FileZilla

Post by trendy »

The default SSH server Dropbear doesn't support SFTP, only SCP.
Either use an SCP client to upload the files, or install openssh-sftp and use Filezilla SFTP.
Post Reply