Updating Root Password via SSH in Linux/Centos


1. Login as root (replace localhost with your server address)

ssh [email protected]

2. Type in this command and press enter

passwd

3. Type in your new password and press enter

4. Reconfirm your new password and press enter