FileZilla keeps asking me for password and verification code

6,462

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).

Share:
6,462

Related videos on Youtube

manaszon
Author by

manaszon

Updated on September 18, 2022

Comments

  • manaszon
    manaszon over 1 year

    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.

    • Martin Prikryl
      Martin Prikryl about 5 years
      Are you sure FileZilla is asking for every transfer? Isn't it rather asking for every new background connection only?
    • user1686
      user1686 about 5 years
      The description doesn't sound like an FTP connection to me. Are you sure it isn't SSH/SFTP?
    • manaszon
      manaszon about 5 years
      @grawity It's SFTP, yes, sorry. I've deleted the FTP tag.
    • manaszon
      manaszon about 5 years
      @MartinPrikryl You were right. FileZilla asked me for every background connection (but it created and closed connection for every file as I saw).