
(base) jecc@sajanraj:~$ ssh odin
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: POSSIBLE DNS SPOOFING DETECTED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
The ECDSA host key for odin has changed,
and the key for the corresponding IP address 192.168.5.250
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 a host key has just been changed.
The fingerprint for the ECDSA key sent by the remote host is
SHA256:mPyyUSVnEvMD4WxMzZWhufbmoJUEY7+DfziKnOpsbsM.
Please contact your system administrator.
Add correct host key in /home/jecc/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /home/jecc/.ssh/known_hosts:7
remove with:
ssh-keygen -f "/home/jecc/.ssh/known_hosts" -R "odin"
ECDSA host key for odin has changed and you have requested strict checking.
Host key verification failed.
Ya intenté eliminar las claves ssh y regenerarlas, sin cambios.
Respuesta1
Tienesdos dispositivosintentando utilizar la misma dirección IP en la misma subred. (Como muestra arping, sus direcciones MAC son 00:E0:32:11:01:3E
y D4:3D:7E:65:6D:B1
.)
Eso significa que a veces terminas conectándote a un dispositivo y otras veces al otro (dependiendo de cuál responda primero a las solicitudes ARP) y, naturalmente, tienen diferentes claves de host SSH y provocan la alerta de discrepancia.
Si ambos son dispositivos legítimos, reconfigure uno de ellos para usar una dirección IP diferente.
(Sin embargo, estopuedeTambién indica que está sucediendo algo malicioso: exactamente el tipo de cosas de las que la verificación de hosts conocidos de SSH debe protegerlo).