In recent upgrade of ubuntu 22.04 and above 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 RSA algorithm keys we are using till now it 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.
No comments:
Post a Comment