Текст ошибки: MacBook-Pro-Andrey:~ andreyposnov$ ssh root@ТУТ_IP_АДРЕС
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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 RSA key sent by the remote host is
5e:49:aa:c0:00:6a:6b:e2:9a:b8:c2:f8:be:16:58:b7.
Please contact your system administrator.
Add correct host key in /Users/andreyposnov/.ssh/known_hosts to get rid of this message.
Offending RSA key in /Users/andreyposnov/.ssh/known_hosts:43
RSA host key for ТУТ_IP_АДРЕС has changed and you have requested strict checking.
Host key verification failed.
Проблема решается удалением ключа из знакомых хостов, то есть из файла /Users/USERNAME/.ssh/known_hosts:43