Updating Root Password via SSH in Linux/Centos
1. Login as root (replace localhost with your server address)
ssh root@localhost2. Type in this command and press enter
passwd3. Type in your new password and press enter
4. Reconfirm your new password and press enter