RSA keys are not working

Hi,

We have two open SSh systems(Let us assume that A and B).These systems are having the non expiring passwords. We established a passwordless connection between two systems bu using the rsa key iles. I have created the key generated files by using the command ssh-keygen -t rsa in system A and then copied the id_rsa.pub file from A to B under the directory /home/B/.ssh with the name authorized_keys.

previously, It was worked with out any problems.Now it's not working,showing the error like
Permission denied (publickey,password,keyboard-interactive).
lost connection.

I'm not sure why it's not working now. Could you please let me know why I am getting this error and how to resolve this issue.

Thanks
Srinivas.

No duplicate or cross-posting,
please follow the rules!
Continue here.