How to enable password expired messages in ssh2

My SSH version is OpenSSH_5.0p1 and it is not prompting for new password and it is saying that when password expired "Permission denied". Please some one help me regarding this

$ ssh devdhq4
"Use is subject to monitoring by First American CREDCO personnel. Any
Criminal activity or wrongdoing can and will be prosecuted to the fullest extent of the law !!"
csuresh@devdhq4's password:
Permission denied, please try again.
csuresh@devdhq4's password:
Permission denied, please try again.
csuresh@devdhq4's password:

You can set the below option to warn you before your password expires.

in 'smit chuser'
set the no. of days in "Days to WARN USER before password expires" field.

So it will warn you before your password get expired.