Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- WARNING: Your password has expired.
- You must change your password now and login again!
- Changing password for user dmitresso.
- Changing password for dmitresso.
- (current) UNIX password:
- #! /bin/bash
- username=dmitresso
- hostname=aaa
- pass=bbb
- newpass=ccc
- sshpass -p "${pass}" ssh -tt -o StrictHostKeyChecking=no ${username}@${hostname}
- WARNING: Your password has expired.
- You must change your password now and login again!
- bbb
- ccc
- ccc
- Changing password for user dmitresso.
- Changing password for dmitresso.
- (current) UNIX password:
Add Comment
Please, Sign In to add comment