PSMP connection closed with error of no matching host key type found
283
Created On 11/10/26 11:00 AM - Last Modified 11/10/26 16:12 PM
Symptom
PSMP connection closed with error of no matching host key type found.
Environment
13.0;13.2;14.4 Privileged Access Manager (PAM, self-hosted) PSMP
PSMP
Cause
SSH-RSA key type is deprecated with openssh 7 and 8. If using old version of OS and openssh which is only support ssh-rsa, it needs to be added to use it from PSMP server side.
Resolution
Method 1: Modify ssh_config on the PSMP Server
Add the following lines to the ssh_config file located in /etc/ssh on the PSMP server, based on the key types mentioned in the error:
Method 2: Create a Configuration File for the PSMP Shadow User
- Create the configuration file and adjust its permissions. If you are using Red Hat 7.9 on the PSMP server,
chmod 600should work:
- Add the following lines to the configuration file:
Method 3: Update the PSMP SSH String from PVWA
Update the PSMP SSH string from PVWA to include the key type mentioned in the error when connecting, as shown below: