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.

Most Read Articles

Add/Detect a new disk in ...

Written By Farooq Mohammed Ahmed on Sunday, 11 January 2015 19:22
Add/Detect a new disk in ...

Replace SSL Certificates ...

Written By Farooq Mohammed Ahmed on Friday, 16 December 2016 08:05
Replace SSL Certificates ...

Using awk in Alias Comman...

Written By Farooq Mohammed Ahmed on Friday, 19 February 2016 14:22
Using awk in Alias Comman...

Sed - Insert Text before ...

Written By Farooq Mohammed Ahmed on Monday, 20 November 2017 00:58
Sed - Insert Text before ...

Script to Monitor Nagios ...

Written By Farooq Mohammed Ahmed on Monday, 18 July 2016 22:48
Script to Monitor Nagios ...