WARNING: Your password has expired. Password change required but no TTY available.

Problem Description 

Scp command fails with following error message
scp /tmp/11204.tar oracle@prod:/tmp
oracle@prod's password:
WARNING: Your password has expired.
Password change required but no TTY available.

lost connection
$
advertisements
 
Solution Description 

Even though if you are providing the correct working password you have to change the password if you are getting above error message.
$passwd
Changing password for "oracle"
oracle's Old password:
oracle's New password:

oracle's New password:
Re-enter oracle's new password:
They do not match, try again.
oracle's New password:
Re-enter oracle's new password:
Now try your scp !!!

No comments:

Post a Comment