Edit the SSH Configuration File
Open the SSH daemon configuration file with a text editor:
Locate or add the following lines to allow password and root logins:
Make sure the following line is commented out or set to no to disable challenge-response authentication:
Restart the SSH Service
Apply your configuration changes by restarting the SSH daemon:
Set or Reset the Password for the Root or Target User
To set a new password for the root account or another user, run:
Follow the prompts to enter and confirm the new password.