Usar o terminal do MAC para SSH = erro [com soluçao]
Andava eu a tentar apagar as liguas que nao uso no iphone, e para tal é preciso entrar usando o terminal no mac. Agora aparece-me isto:
Código:
Unknown-00-16-17-b1-d5-83:~ jotajota91$ ssh root@192.168.1.xx
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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
xx:xx:xx:xx:x:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx.
Please contact your system administrator.
Add correct host key in /Users/jotajota91/.ssh/known_hosts to get rid of this message.
Offending key in /Users/jotajota91/.ssh/known_hosts:16
RSA host key for 192.168.1.xx has changed and you have requested strict checking.
Host key verification failed.
Nao faço ideia do que seja, pk com o cyberduck e o winSCP esta tudo a funcionar plenamente
Como resolver isto:
No mac:
Código:
1. Abrir o Terminal
2. Inserir cd /Users/nome do utilizador/.ssh
3. Escrever ls para confirmar o nome do ficheiro
4. Escrever rm known_hosts (que deve ser o nome do ficheiro
Feito isto deve estar resolvido.