FileZilla keeps asking me for password and verification code

1

1

Yesterday I secured my VPS (Ubuntu 18.04) with two-factor authentication (Google Authenticator). I used this tutorial to achieve this. When I tried to login to my VPS with SSH (I'm using PuTTY), it asked my password and verification code, so everything has worked perfectly.

Today I was trying to upload some files to my VPS (I have an FTP server on my VPS) with FileZilla and I got this error:

Server sent an additional login prompt. You need to use the interactive login type.

I switched the Logon Type to Interactive, but then FileZilla asked my password and verification code for every file. This was not really helpful, so I switched to Ask for password but nothing has changed. I have to enter my password and verification code for every upload.

I've tried to set the Transfer Mode to Active (with Timeout set to 0) as mentioned in this question, but unfortunately no luck with that either.

I've also tried to use WinSCP, and suprisingly there was no problem with this. I've entered my password and verification code once and WinSCP didn't ask me again. But I would stick with FileZilla if possible.

manaszon

Posted 2019-04-06T10:28:41.153

Reputation: 21

Are you sure FileZilla is asking for every transfer? Isn't it rather asking for every new background connection only? – Martin Prikryl – 2019-04-06T14:09:23.277

The description doesn't sound like an FTP connection to me. Are you sure it isn't SSH/SFTP? – user1686 – 2019-04-06T15:32:00.790

@grawity It's SFTP, yes, sorry. I've deleted the FTP tag. – manaszon – 2019-04-08T19:08:55.803

@MartinPrikryl You were right. FileZilla asked me for every background connection (but it created and closed connection for every file as I saw). – manaszon – 2019-04-08T19:13:10.640

Answers

1

As mentioned in this FileZilla forum topic the solution is to set Maximum number of connections to 1 in Transfer Settings (File > Site Manager > Transfer Settings).

manaszon

Posted 2019-04-06T10:28:41.153

Reputation: 21