fighting for truth, justice, and a kick-butt lotus notes experience.

SSH auf dem Mac

 Juli 15 2009 06:10:05 PM
Auf dem Mac bringt Mac OS X alles benötigte mit, um eine SSH Sitzung aufzubauen oder einen eigenen SSH-Server zu betreiben.

Ich hatte heute das Problem, das ein bereits bekannter SSH Server bedingt durch Neuinstallation einen neuen SSH Key bekommen hat. Der SSH Client verweigert die Verbindung mit folgender Meldung:

Password:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@
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
e5:a1:95:54:24:c3:ea:49:70:f0:cf:33:55:a2:e0:78.

Please contact your system administrator.

Add correct host key in /User/username/.ssh/known_hosts to get rid of this message.

Offending key in /User/username/.ssh/known_hosts:58

RSA host key for 1.2.3.4 has changed and you have requested strict checking.

Host key verification failed.

Das Problem ist ganz einfach zu lösen:

Mit VI die Datei /User/username/.ssh/known_hosts öffnen und die oben angegebene Zeile (hier 58) suchen und löschen.
Anschließend wird bei einem erneuten Verbindungsaufbau nachgefragt, ob dem angeforderten vertraut werden soll. Nach Bestätigung mit YES wird ein neuer Eintrag in der known_hosts-Datei angelegt und der RSA-Key hinterlegt.

Weitere Tips zu SSH: hier


Kommentare
noch keine Kommentare vorhanden
  •  
  • Hinweis zum Datenschutz und Datennutzung:
    Bitte lesen Sie unseren Hinweis zum Datenschutz bevor Sie hier einen Kommentar erstellen.
    Zur Erstellung eines Kommentar werden folgende Daten benötigt:
    - Name
    - Mailadresse
    Der Name kann auch ein Nickname/Pseudonym sein und wird hier auf diesem Blog zu Ihrem Kommentar angezeigt. Die Email-Adresse dient im Fall einer inhaltlichen Unklarheit Ihres Kommentars für persönliche Rückfragen durch mich, Detlev Pöttgen.
    Sowohl Ihr Name als auch Ihre Mailadresse werden nicht für andere Zwecke (Stichwort: Werbung) verwendet und auch nicht an Dritte übermittelt.
    Ihr Kommentar inkl. Ihrer übermittelten Kontaktdaten kann jederzeit auf Ihren Wunsch hin wieder gelöscht werden. Senden Sie in diesem Fall bitte eine Mail an blog(a)poettgen(punkt)eu

  • Note on data protection and data usage:
    Please read our Notes on Data Protection before posting a comment here.
    The following data is required to create a comment:
    - Name
    - Mail address
    The name can also be a nickname/pseudonym and will be displayed here on this blog with your comment. The email address will be used for personal questions by me, Detlev Pöttgen, in the event that the content of your comment is unclear.
    Neither your name nor your e-mail address will be used for any other purposes (like advertising) and will not be passed on to third parties.
    Your comment including your transmitted contact data can be deleted at any time on your request. In this case please send an email to blog(a)poettgen(dot)eu

Archive