Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Connection has been unexpectedly closed with expired passwd

Did you checked server-side log to see why is it closing the connection?
tbubber

Connection has been unexpectedly closed with expired passwd

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.

https://winscp.net/eng/docs/ui_authenticate shows that I can get a password change prompt from WinSCP.

https://winscp.net/eng/docs/message_unexpected_close 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?