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....

It's now possible to install both Puppet Master and Agent on the same host with different certs for each, to...
This article shows you how to Automate iptables for the whole infrastructure (linux/unix) and maintain the state during the lifecycle...
When adding multiple users in IDM/freeIPA its a pain inputting each user and its time consuming. This script/one liner allows...
This article covers the setup and configuration of PuppetDB and Puppetmaster on separate nodes/hosts. I have used PostgreSQL as PuppetDB...
The process of upgrading Red Hat Satellite 5.6 to 5.7 is fairly simple if you follow the steps properly and...
Joomla! Україна