How to fix SSH dropping after a password change

When using IPA for managing user authentication you can come across this issue of SSH dropping just after a password change. It can be resolved by changing options in /etc/ssh/sshd_config. You need to be ROOT to make this change and restart SSHD service to take effect.

Edit /etc/ssh/sshd_config and change PasswordAuthentication to "NO" and ChallengeResponseAuthentication to "YES"

# vi /etc/ssh/sshd_config

 sshd config screen

And then make sure you restart sshd service and logoff and log in back for the changes tio take effect.

# service sshd restart

That's it all done and you are ready to roll.

If you encounter any errors during the process, let us know via Contact Us and will try our best to help.

Infra Related Articles....