PSM-WinSCP session prompts for password when try to edit and save a file on target machine
129
Created On 11/10/26 10:56 AM - Last Modified 11/10/26 16:07 PM
Symptom
User connects to target machine using PSM-WinSCP and then opens a file editor window in WinSCP directly to edit a file on the target machine. When user tries save a edited file to target server, WinSCP prompts for a password.
Environment
11.3;11.4;11.5;11.6;11.7;12.0;12.1 PSM 11.3 or higher
CA20-11
Cause
The change was introduced by Security Bulletin CA20-11, thus it affect all versions higher than 11.3 . PSM-WinSCP is now by design to disable saving session password. It was not enforced before CA20-11.
When user edits a file on target machine via WinSCP, it's actually opens a new session thus it requires re-authentication.
Before the CA20-11 or outside PSM, when user saves the edited file, WinSCP actually passes the stored session password to the new session. We can find evidence in WinSCP logs.
Since PSM-WinSCP now doesn't allow password saving anymore, it is a expected result o prompt for password.
Resolution
Workaround:
Customer may workaround the security prompt with below workflow.
1 Download the file from target machine to local first
2 Edit the file locally
3 Upload the file back to the target machine