RHEL - Change user password at next logon when using winscp and putty

I am a HP UX admin. I used passed -f to force change the password at next logon. Users in my environment work using Winscp. With this command users get prompt at Winscp as well for changing password at first logon.

Now I do want to achieve the same in rhel 5 as well. I use chage -d 0 user to do the same. It works on putty. But with WINSCP it doesn’t. Kindly help.

Linux sysadmin blog - Linux/Unix Howtos and Tutorials - Linux bash shell scripting wiki