1. jwaves's Avatar
    How Do I fix this problem with terminal. I am a complete NOOB and have no idea how to set up commands properly. I was trying to jailbreak my device and add cydia to it on 8.1 but i ran into an issue with terminal while performing an "ssh"

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@
    @ 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
    86:6c:fa:40:6f:4d:ee:7a:a3:c2:12:f0:01:1c:01:62.
    Please contact your system administrator.
    Add correct host key in /Users/JO3/.ssh/known_hosts to get rid of this message.
    Offending RSA key in /Users/JO3/.ssh/known_hosts:1
    RSA host key for 192.168.2.3 has changed and you have requested strict checking.
    Host key verification failed.

    how exactly do I fix this?
    10-29-2014 06:59 AM
  2. sau124's Avatar
    "Host key verification failed" means that the host key of the remote host was changed.

    Ssh stores the host keys of the remote hosts in ~/.ssh/known_hosts. You can either edit that text file manually and remove the old key (you can see the line number in the error message), or use

    ssh-keygen -R hostname
    jwaves likes this.
    10-29-2014 09:02 AM
  3. sau124's Avatar
    If you do not want to manually mess with the lines use this command and it should fix the issue...

    To correct it, simply go to your Terminaland type in the following command,

    sed -i '1d' ~/.ssh/known_hosts

    I’m using ‘1’ because the error from above says that my offending line is line 1):
    known_hosts:1
    jwaves likes this.
    10-29-2014 09:07 AM
  4. sau124's Avatar
    Also, I am assuming you have administrator access as you will need the same...
    Hope this helps...
    jwaves likes this.
    10-29-2014 09:08 AM
  5. jwaves's Avatar
    THANK YOU SO MUCH!! very helpful
    10-29-2014 03:13 PM
  6. sau124's Avatar
    So I assume it fixed the issue... glad it worked out for you!
    10-30-2014 08:54 AM

Similar Threads

  1. Cydia crashes on launch (ios 8.1)?
    By Emmett95 in forum General Apple News & Discussion
    Replies: 1
    Last Post: 10-29-2014, 08:58 AM
  2. Replies: 1
    Last Post: 10-29-2014, 06:05 AM
  3. How can I make my iPhone 5c into digital scales?
    By iMore Question in forum Ask a Question
    Replies: 1
    Last Post: 10-29-2014, 12:56 AM
  4. Replies: 1
    Last Post: 10-28-2014, 11:40 PM
  5. Why aren't my text pictures opening on my iPhone 4s?
    By iMore Question in forum Ask a Question
    Replies: 1
    Last Post: 10-28-2014, 11:01 PM
LINK TO POST COPIED TO CLIPBOARD