PuTTY Session Closed on Expired Password Over SSH Connection

Solution 1:

You could use just passwd -e username. The command chage -d 0 username sets the last login to January 1'st 1970.