- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
06-04-2026 12:09 AM
Hello,
I upgrade a PSM for SSH from 12.2 to 14.2 to last version 15.0 and it is healthy after restart, but users cannot authenticate. I even uninstall it and install it again - with manual registration and with automatic registration, but every time it fails it same errors:
PSPSD116E [0675877c-5fe2-11f1-8f13-005056a8eea8] Failed to generate an authorized keys file for user XXX. Reason: PSPSD113E Failed to retrieve public SSH keys for user XXX. Reason: PSPSD110E Failed to receive public SSH keys retrieval response for user XXX. Reason: 348E Authentication failure for user adm-mmishev
PSPSD118E Failed to check if the public key is allowed: type=ED25519, fingerprint=SHA256:4PcirXUJ2wAV99+P1RUvXJS4FJ3nz01DFmXfo9hO/V8
PSPSD102I Public key is not allowed: type=ED25519, fingerprint=SHA256:4PcirXUJ2wAV99+P1RUvXJS4FJ3nz01DFmXfo9hO/V8
sshd[1769]: pam_sss(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=10.5.0.232 user=PSMConnect
sshd[1769]: pam_sss(sshd:auth): received for user PSMConnect: 10 (User not known to the underlying authentication module)
sshd[1767]: error: PAM: Authentication failure for PSMConnect from 10.5.0.232.
I read a lot of articles and check password-auth file, but cannot find the root cause and why the authentication stops working. Some ideas will apreciated.
Greetings!
06-04-2026 01:05 AM
348E Authentication failure for user adm-mmishev
This indicates
The PSMP component cannot authenticate to CyberArk APIs using the configured user credentials.
This typically occurs due to one of the following:
Verify the account used by PSMP:
Test manually using API:
curl -k https://<PVWA>/PasswordVault/API/Auth/CyberArk/Logon
If authentication fails → credentials must be corrected.
06-04-2026 11:16 AM
Hey @Anton Etimov Was the 12.2 PSMP using CyberArk SSHD ("Yes" mode) or Integrated mode (native OpenSSH)? Also, when upgrading from 12.2 to 14.2, did you test and confirm authentication was successful before upgrading to 15.0?
There were quite significant changes after 12.2, particularly when switching from Yes to Integrated mode.
06-04-2026 10:48 PM
Yes i was thinking the same, but since theimplementation was made 5 or so years ago i dont remember. Thats why i installed the PSMP again, i follow the procedure of uninstalling and cleaning up the PSMP from the Vault 2 times, but in vane. The user just cannot authenticate and get that error.
06-05-2026 01:29 AM
When i upgrade to 14.2 the authentication wasnt the same - same error.
06-05-2026 10:05 AM
Hey @Anton Etimov It sounds like maybe you went from Yes mode to Integrated between 12.2 and 14.2. I would recommend a clean uninstall/reinstall, here is the instructions:
1) Remove PSMP packages:
rpm -e CARKpsmp (if integrated mode, run rpm -e CARKpsmp-infra as well)
rm -rf /var/opt/CARKpsmp
rm -rf /var/opt/CARKpsmpadb
rm -rf /etc/opt/CARKpsmp
rm -rf /etc/opt/CARKpsmpadb
rm -rf /opt/CARKpsmp
rm -rf /opt/CARKpsmpadb
Remove users from PSMP server OS:
userdel -r PSMConnect
userdel -r PSMShadowUser
groupdel PSMConnectUsers
groupdel PSMShadowUsers
groupdel PSMInternalUsers
Remove the PSMP users/groups from vault using PA Client for this PSMP server
PSMPApp_thisHost (ie: PSMPApp_hostname)
PSMPGW_thisHost
PSMP_ADB_thisHost.
Then start with a new install of 15.0. Make sure the OS is on a supported version for v15, as it may be easier to simply deploy a new OS with a new PSMP installation.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!

