Linux Programmer | RHCE | RHCSA

Search This Blog

Monday 25 March 2024

SSH not working with password after upgrade ubuntu 22.04

Issue:

In recent upgrade of ubuntu 22.04 we are not able to login server with SSH password. but when we try to login with key then it allows to login.


Reason:

The issue is that we were using keys generated by the RSA algorithm. This is no longer supported. The resolution is to use new keys generated by a more secure algorithm, such as ed25519 or disable the one configuration in ssh configuration file.

Resolution:

I have done by commenting one line in ssh configuration.

1. open ssh configuration file,

/etc/ssh/sshd_config

2. comment below line,

#KbdInteractiveAuthentication no

3. Restart ssh service,

service ssh restart

 

And now its working.

SSH not working with password after upgrade ubuntu 22.04

Issue: In recent upgrade of ubuntu 22.04 we are not able to login server with SSH password. but when we try to login with key then it allow...