PDA

View Full Version : ssh terminale errore di accesso


corrysan
27-03-2018, 16:36
scusate ma non trovando col comando cerca del forum mi trovo costretto a postare qui.

vengo subito al punto
dal mio Mac apro terminale e tramite ssh vorrei accedere al mio raspberry, ma dopo aver digitato l'indirizzo mi restituisce questo messaggio

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:chqOVdc3qUsyAQaDkgCWh7iL5B+uVxCOBf2rZUAxpGU.
Please contact your system administrator.
Add correct host key in /Users/mugnos/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /Users/mugnos/.ssh/known_hosts:2
ECDSA host key for xxx.xxx.x.xx has changed and you have requested strict checking.
Host key verification failed.

Qualcuno sa cosa significa e come risolvo?

Grazie mille.

kernelex
27-03-2018, 18:40
non corrisponde la key known_hosts con il raspberry.

apri un terminale e incolla:
rm .ssh/known_hosts

corrysan
27-03-2018, 23:15
non corrisponde la key known_hosts con il raspberry.

apri un terminale e incolla:
rm .ssh/known_hosts

Grazie mille, sei un genio.
Ho risolto, sono riuscito ad accedere al raspberry :mano: :cincin: :ubriachi: :vicini: :kiss: