PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : ssh



saulus
03.05.06, 10:16
Hallo,

ich bekomme immer diese Meldung wenn ich mit scp -r Geschäft 192.168.0.1:/home/user eine Datei (Geschäft) übertragen möchte.

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@
@ 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
57:30:22:b0:80:0c:05:0b:2d:68:27:95:35:8c:c1:bb.
Please contact your system administrator.
Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending key in /root/.ssh/known_hosts:1
RSA host key for 192.168.0.1 has changed and you have requested strict checking.
Host key verification failed.
lost connection



Was kann ich da machen, das hat auch schon geklappt.

Gruß Nixdorf

tobiast
03.05.06, 10:26
ist auf dem Server ssh neu installiert worden ?
Jedenfalls hat sich der serverkey geändert. Was eigentlich sonst nicht sein sollte.

lösch mal /root/.ssh/known_hosts
oder wenn mehrer Eintäge drin sint enrfern die Zeile mit dem Eintrag für : 192.168.0.1

r00t043
03.05.06, 10:56
Wenn die IPs gehasht drin stehen, oder wenn du zu faul bist einen Editor zu starten:

ssh-keygen -R 192.168.0.1