PSMP upgrade causes console logon to fail due to multiple sshd service

PSMP upgrade causes console logon to fail due to multiple sshd service

149
Created On 11/10/26 11:03 AM - Last Modified 11/10/26 15:52 PM


Symptom


After the PSMP upgrade is completed without errors, the customer cannot log on/access the PSMP server.
To regain access, after rebooting the server into recovery mode, it seems the PSMP service is unable to start up at all, and the SSHD service is affected too.


Environment


12.1;12.2;12.4;12.3;12.5;12.6 Privileged Access Manager (PAM, self-hosted) PSMP

Seen with the following environment configuration:
 

  • PSMP Upgrade
  • Puppet controlled sshd_config
  • Has more than one SSHD service configured on the server and each uses its own custom port.
  • InstallCyberArkSSHD=Yes


Cause


During the upgrade, due to the mode selected: InstallCyberArkSSHD=Yes

The following files are updated by PSMP Installation:

* /usr/sbin/sshd 
* /etc/pam.d/sshd 
* /etc/sysconfig/sshd 
* /etc/ssh/sshd_config 
 

This flow breaks the authentication flow within their environment, causing PSMP not to be accessible and SSHD service not to be able to start up.



Resolution


The issue has been resolved by backing the following files:

  • /usr/sbin/sshd
  • /etc/pam.d/sshd
  • /etc/sysconfig/sshd
  • /etc/ssh/sshd_config
Then, replace them after the upgrade is completed before rebooting the server.


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000000owICAQ&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail