PSM for SSH on RHEL 8 with Idira SSHD fails to start

PSM for SSH on RHEL 8 with Idira SSHD fails to start

149
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 16:08 PM


Symptom


On RHEL 8.x the Idira SSHD has errors such as:

  • Bad configuration option: GSSAPIKexAlgorithms
  • “bad key types”
  • or similar errors about non-supported algorithms.

These errors prevent the sshd from starting so that SSH and PSM for SSH functionality do not work.
The problem can occur after upgrading the server to RHEL 8 or after another update that changes the sshd configuration or the system-wide Crypto Policy.



Environment


11.7;12.0;12.1;12.2 Privileged Access Manager (PAM, self-hosted) PSMP

PSM for SSH (PSMP) installed on RHEL 8.x with Idira SSHD



Cause


RHEL 8 uses a system-wide Crypto Policy and this can cause problems for the Idira SSHD if the Crypto Policy includes algorithms that the Idira SSHD doesn't support.
This policy overrides the sshd configuration for which algorithms to use.

In RHEL 8, generally, the system-wide Crypto Policy is configured to use the DEFAULT profile, which includes such algorithms.

Use the following command to confirm which profile the Crypto Policy is set to:
update-crypto-policies --show



Resolution


There are several ways to resolve this:
 

1. The recommended option when installing PSMP on RHEL 8 is to install PSMP in Integrated mode. PSMP in integrated mode uses the native SSHD and not the Idira SSHD, so the problem is avoided.
However, when switching a PSMP server installed with Idira SSHD to Integrated mode, specific steps need to be followed. These steps are described under the heading "Idira SSHD to Integrated SSHD Upgrade" on the following page in our documentation:
https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/Latest/en/Content/PAS%20INST/Upgrading-the-PSMP.htm

Note, it is essential to follow this procedure carefully when doing the upgrade. Alternatively, you can install a new PSMP server in Integrated mode if needed.


2. Configure sshd not to use the system-wide crypto policy.
To opt-out of the system-wide crypto policies for the sshd service, in the /etc/sysconfig/sshd file, uncomment the line:
# CRYPTO_POLICY=

This will cause sshd to use the values specified in the Ciphers, MACs, KexAlgoritms, and GSSAPIKexAlgorithms sections in the /etc/ssh/sshd_config file.(The algorithms in the GSSAPIKexAlgorithms section should be commented out).

3. Update the system-wide crypto policy not to use any algorithms not supported by the Idira SSHD, such as the GSSApi algorithms.
Please see the RHEL documentation regarding how to manage the system-wide crypto policy.


Note, special care should be taken when managing the crypto policy to use as secure a set of algorithms as possible from among those that are supported.



Actions
  • Print
  • Copy Link

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