Linux SSH prompting for Password twice

Follow

Version Affected:  All

Description:  

After following our Linux PAM guide. Users report that SSH makes the type Username | Password | 2nd Factor | Password

 

Cause:  

 /etc/pam.d/SSHD configuration

 

Resolution:  

1. Edit /etc/pam.d/SSHD

2.  Set it to

or Alternatively, you can comment out the auth include password-auth as this is the 2nd module that is asking for a password. 

3. With either option you get prompted as Username | Password | 2nd Factor

 

Special Considerations   

This was tested on CentOS 7 and 8

 

 

SecureAuth Knowledge Base Articles provide information based on specific use cases and may not apply to all appliances or configurations. Be advised that these instructions could cause harm to the environment if not followed correctly or if they do not apply to the current use case.

Customers are responsible for their own due diligence prior to utilizing this information and agree that SecureAuth is not liable for any issues caused by misconfiguration directly or indirectly related to SecureAuth products.

0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.