SFTP not working on any instance when activate 2FA

OS Name/Version: Ubuntu Server 22.04.1 LTS Jammy

Product Name/Version:

Problem Description:

Good morning, I suppose this is a bug report.

All user’s on the AMP panel, after activating 2FA, SFTP of all instance stop working with wrong password. If deactivated 2FA the SFTP work again.

Steps to reproduce:

  • Step 1: Activate 2FA
  • Step 2: tempt to login with filezilla over any instance, not working.
  • Step 3: Deactivate 2FA
  • Step 4: SFTP working again

Actions taken to resolve so far:

Deactivate 2FA (less security on the server)

You have to append the 2FA code to the end of your password in SFTP.