I appreciate for your feedbak. ChallengeResponseAuthentication was already configured as 'yes'. I've successively changed 2fa auth prompt after changing common-auth file.
But now I faced another problem. for 2fa user, I just press enter for pwd and otp .
First Factor: Second Factor:
First Factor: Second Factor:
First Factor: Second Factor:
ereen-test@10.10.212.41's password: Permission denied, please try again.
ereen-test@10.10.212.41's password: Permission denied, please try again.
for the users of password auth type, it's also like Password: Password: Password: ereen-test@10.10.212.96's password: Permission denied, please try again. ereen-test@10.10.212.96's password: Permission denied, please try again. ereen-test@10.10.212.96's password:
MaxAuthTries , its default value is 6. So I understatand it asks 6 times but why authentication prompt for 2fa user goes different at the 4th prompt? Is there anything what I should change for this?