PSMP Can't connect to Unix via SSH Certificate targets with older OpenSSH
123
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 15:53 PM
Symptom
After upgrading to PSMP 12.6, unable to connect to targets in Unix via SSH Certificates platform with older versions (i.e. 7.x) of OpenSSH, even after adding +ssh-rsa as suggested in other articles.
Error when connecting:
Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password)
Error when connecting:
Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password)
Environment
12.6 Privileged Access Manager (PAM, self-hosted) PSMP PSMP
Cause
ssh-rsa key type is deprecated with openssh 7 and 8. if customer is 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.
Although, +ssh-rsa will resolve connections via password and ssh key, Unix via SSH Certificate requires a different PubkeyAcceptedKeyType
Resolution
Add the below to ssh_config in /etc/ssh in the PSMP server (including the quotations in some environments)
PubkeyAcceptedKeyTypes “+ssh-rsa-cert-v01@openssh.com,ssh-rsa"
HostKeyAlgorithms +ssh-rsa