how to delete the known_hosts file?

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

  1. macrumors regular

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

    Joined:
    Oct 12, 2007
    #2
    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,

    Francesco

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

    Joined:
    Sep 15, 2007
    #3
    open terminal

    navigate to /users/yourusername/.ssh

    rm known_hosts
     
  4. macrumors regular

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

    Then look for the line which starts "192.168.0.35 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

    Joined:
    Oct 12, 2007
    #5
    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

    penter

    Joined:
    Jun 15, 2006
    #6
    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