I am trying to allow users to change their password from within WinSCP. I have an expired account. Using ssh, I login and upon entering the password I am forced to change my password. Using WinSCP (SFTP), I connect, and I get the "Connection has been unexpectedly closed" messagebox.
shows that I can get a password change prompt from WinSCP.
says that "some servers refuse to start a shell if your password has expired or your account was terminated."
I am using Oracle Linux 5.9 and WinSCP 5.5.6 (Build 4746). Can I change something on the server or client side to enable password changes from WinSCP?