Terminal: RSA host key verification error

In case you get below error in your terminal, you can edit your .ssh/known_hosts file in your home directory.
Error:
RSA host key for xx.xxx.xx.xx has changed and you have requested strict checking.
Host key verification failed.
Solution:
- Find and open in your terminal .ssh/known_hosts:
pico ~/.ssh/known_hosts
- Delete all the content for this host and save file.
- When you log in to xx.xx.xx.xx server, it will prompt you to verify that this is a known host and will append permissions to .ssh/known_hosts file.


As an Amazon Associate I earn from qualifying purchases.

No comments:

Post a Comment

Post Scriptum

The views in this article are mine and do not reflect those of my employer.
I am preparing to cancel the subscription to the e-mail newsletter that sends my articles.
Follow me on:
X.com (Twitter)
LinkedIn
Google Scholar

Popular Recent Posts

Most Popular Articles

apt quotation..