Finding My Valid RSA Host Key

I recently moved one of my domains to a new hosting service, so I switched DNS name servers, moved content to a new hosting service, etc.

Now I am trying to enter the site (now on a new host), and there seems to be a problem with this problem on my machine.

Question: Where and how can I find a new correct RSA key that the error message below says what I need?

Error message (details masked):

evan-stites-claytons-macbook-2171: ~ estites $ ssh root@EXAMPLE.com DNS SATELLITE SIGNIFICANCE IS POSSIBLE ! The RSA host key for EXAMPLE.com has been changed, and the key for the corresponding IP address XXX.XXX.xxx.xx does not change. This may mean that DNS SPOOFING is happening or the IP address for the host and its master key has changed at the same time. The offending key for the IP address in /Users/estites/.ssh/known_hosts:2 WARNING: REMOTE SAMPLE IDENTIFICATION CHANGED! POSSIBLE THAT SOMETHING SOMETHING, SOMETHING ANYTHING! Someone can eavesdrop on you right now (man-in-the-middle attack)! It is also possible that the RSA host key has just been changed.









The fingerprint for the RSA key sent by the remote host is xx: xx: xx: xx: xx: b5: 21: f1: 1f: 39: xx: xx: xx: xx: xx :. xx
Contact your system administrator. Add the correct host key to /Users/estites/.ssh/known_hosts to get rid of this message.
Key violation in /Users/estites/.ssh/known_hosts:1 The
RSA host key for example.com changed and you requested a strict check.
Error verifying host key.

+3
source share
2 answers

You can simply delete the row with the old host key in /Users/estites/.ssh/known_hosts. When you first start SSHing, you will be prompted to accept an unknown host key.

+8
source

, , known_hosts; 1 2

0

Source: https://habr.com/ru/post/1752160/


All Articles