Connection has been unexpectedly closed with expired passwd

Advertisement

tbubber
Joined:
Posts:
1
Location:
United States

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?

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,476
Location:
Prague, Czechia

Re: Connection has been unexpectedly closed with expired passwd

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

Reply with quote

Advertisement

You can post new topics in this forum