Authentication (login or challenge) has failed. Please try again or contact y our system administrator.
Symptom
In pCloud with Shared Service Env, PSM for SSH (PSMP) might throws out the error "Authentication (login or challenge) has failed. Please try again or contact our system administrator" in the first factor of authentication . Even the exact same password is able to login to pCloud portal with 2FA.
When test with PSMP-SSH, in Identity log, it error with Invalid Credential.
In PSMP Trace log, the following information might be seen:
- the psm-identity-cpp][010I 'Summary' value in Json - 'SpecialEventFailure']:
- Identity Advance Authentication request failed, Reason: [Authentication (login or challenge) has failed.
- Identity advance authentication failed for user [vaultUser@cyberark.cloud.###]
Environment
14.0;14.2;14.5 Privilege Cloud PSMP PSMP Networking & Connectivity
Cause
sshd_config file was mis-configured with AllowUsers or AllowGroups Parameter
Resolution
Make a backup of /etc/ssh/sshd_config file
Comment out or remove the AllowUsers line if it exists
#AllowUsers xxx xxx xxx
In AllowGroups line (if it exists), make sure PSMConnectUsers group is present as below:
AllowGroups PSMConnectUsers ProxymngGroup1 adminGroup2 etc
After the changes, restart sshd
For more information about AllowGroups, refer to https://docs.cyberark.com/privilege-cloud-shared-services/latest/en/content/pasimp/administrating-the-psmp.htm?Highlight=allowGroups#Createamaintenanceuser