Enviado em 18/12/2018 - 17:25h
De uns tempos para cá, tenho sentido necessidade de tornar pratico algumas tarefas em linha de comando e evito usar o ambiente gráfico ao máximo, entretanto uma das dificuldades, como o titulo da dúvida sugere, vou dar um exemplo a seguir:allan@ubuntu:~$ ssh root@192.168.1.6
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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
c5:2f:94:0b:b9:9d:86:b8:76:52:c8:00:db:8e:b1:fb.
Please contact your system administrator.
Add correct host key in /home/allan/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /home/allan/.ssh/known_hosts:53
remove with: ssh-keygen -f "/home/allan/.ssh/known_hosts" -R 192.168.1.6
RSA host key for 192.168.1.6 has changed and you have requested strict checking.
Host key verification failed
cat saida.txt | grep ssh-keygen| cut -d " " -f5-20