Subsystem 'sftp' could not be executed
109
Created On 11/10/26 11:01 AM - Last Modified 11/10/26 16:06 PM
Symptom
By default, PSMP-SFTP within the targeted Nix platform is set to "Yes". If the target machine somehow disabled the SFTP protocol, the SSH session will result in (found in pm.log) "ERROR -> ErrorsHelper :: SetReturnMessageAndRC -> GotException: Renci.SshNet.Common.SshException: Subsystem 'sftp' could not be executed." Thus, client RDP session terminate with "Return code: 9999."
Environment
10.10;11.1;11;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.2;12.6;13.2;14.0 Privileged Access Manager (PAM, self-hosted) Central Policy Manager (CPM) PSM
Cause
SFTP protocol is disabled on target machine.
Resolution
Ensure PSMP-SFTP is set to "No", thus matches the target machine protocol setting.