Host key verification failed

Ljudi evo ima par dana da sam podesio server i sve… iz nekog razloga mi na sve više kompjutera javlja ovaj error.

jeli neko zna kako da ovo riješim?

root@hardyTR1:~# ssh server
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: POSSIBLE DNS SPOOFING DETECTED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
The RSA host key for server has changed,
and the key for the according IP address 192.168.20.1
is unknown. This could either mean that
DNS SPOOFING is happening or the IP address for the host
and its host key have changed at the same time.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping 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
c8:fe:6f:89:19:5f:b6:29:2b:d3:c9:9d:ad:53:a2:ae.
Please contact your system administrator.
Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending key in /root/.ssh/known_hosts:1
RSA host key for server has changed and you have requested strict checking.
Host key verification failed.

Otvori u editoru fajl /root/.ssh/known_hosts, pobriši prvu liniju i probaj opet.

fercera, hvala puno! :slight_smile:

To se dešava kada reinstaliraš sistem ili kada zamijeniš IP adrese dva računara. U principu, trebalo bi da te upozori da se ne konektuješ na onaj OS na koji misliš da se konektuješ.