PSMP-SFTP connection fails for certain targets
127
Created On 11/10/26 11:00 AM - Last Modified 11/10/26 15:52 PM
Symptom
PSMP-SSH works when connecting to target, but fails on PSMP-SFTP connection
Environment
10.1;10.2;10.3;10.4;10.5;10.6;10.7;10.8;10.9;10.10;11.1;11;11.2;11.3;11.4;11.5;11.6;12.2 Privileged Access Manager (PAM, self-hosted) PSMP
Cause
Machine Key was updated on target, but PSMP shadowuser profile was not updated.
This caused the PSMP-SFTP connection to be using the old key and thus failing the connection
Resolution
Steps to clear the cached/saved hosts keys for the PSMShadowUser:
--
cd /home/PSMShadowUser/.ssh
cat known_hosts
cp -p known_hosts known_hosts_backup
> known_hosts
--
Notes:
- Changes made to the target servers that may cause a change in the server should be made known to you.
- So that you can remove the entries manually instead of clearing them totally.