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
$
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 !!!

_____________________________________________________________________________________________________________________

0 comments:

Post a Comment

 

acehints.com Copyright 2011-17 All Rights Reserved | Site Map | Contact | Disclaimer | Google