how to delete the known_hosts file?

Discussion in 'iPod touch' started by apattee, Oct 11, 2007.

  1. macrumors regular

    Oct 19, 2006
    can't get past number 16 because of the "fuss" it's giving me.
  2. macrumors newbie

    Oct 12, 2007
    I'm stuck into this, too.

    That's what I get when I try to ssh myself into the Touch:

    Does anyone know how to fix this?

    If this helps, in the morning I succesfully managed to complete the jailbreak — before you ask, I had to restore it since my settings icon disappeared. Maybe is it related with this error message, somehow?

    Thanks in advance,


    P.s.: Sorry for my horrible english :(
  3. macrumors regular

    Sep 15, 2007
    open terminal

    navigate to /users/yourusername/.ssh

    rm known_hosts
  4. macrumors regular

    Oct 2, 2007
    London, UK
    Open the file in a text editor by typing "open /Users/username/.ssh/known_hosts"

    Then look for the line which starts " ssh-rsa" and ends in "=="

    delete that line and save the file.

    Of course, if you don't use SSH/SFTP anywhere else you can just delete the entire file as you won't have any other keys in there
  5. macrumors newbie

    Oct 12, 2007
    Thank you guys, you solved the problem!

    Also, I've found another solution, right before my eyes started melting while googling :|

    from the terminal and then delete the string bonded to your touch's IP.

    Again, thanks a lot... this forum is THE source of the Touchy Wisdom :D
  6. macrumors 6502a


    Jun 15, 2006
    Thank you guys so much!!!

    I jsut deleted the aforementionedd contents that were located in

    /users/username/.ssh/Known_Host, and it worked!

    Btw, why did this happen to us?

Share This Page