Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > iPhone, iPod and iPad > iPod touch

Reply
 
Thread Tools Search this Thread Display Modes
Old Oct 11, 2007, 03:02 PM   #1
apattee
macrumors regular
 
Join Date: Oct 2006
how to delete the known_hosts file?

can't get past number 16 because of the "fuss" it's giving me.
apattee is offline   0 Reply With Quote
Old Oct 12, 2007, 09:44 AM   #2
PapZ
macrumors newbie
 
Join Date: Oct 2007
I'm stuck into this, too.

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

Quote:
ToshY:~ papzadsl$ ssh -l root 192.168.0.35
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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
d1:8b:23:b3:1d:81:18:a7:b3:d1:09:78:14:fb:27:bd.
Please contact your system administrator.
Add correct host key in /Users/papzadsl/.ssh/known_hosts to get rid of this message.
Offending key in /Users/papzadsl/.ssh/known_hosts:1
RSA host key for 192.168.0.35 has changed and you have requested strict checking.
Host key verification failed.
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
PapZ is offline   0 Reply With Quote
Old Oct 12, 2007, 09:52 AM   #3
adamsweeting
macrumors regular
 
Join Date: Sep 2007
open terminal

navigate to /users/yourusername/.ssh

rm known_hosts
adamsweeting is offline   0 Reply With Quote
Old Oct 12, 2007, 10:05 AM   #4
REBELinBLUE
macrumors regular
 
Join Date: Oct 2007
Location: London, UK
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
REBELinBLUE is offline   0 Reply With Quote
Old Oct 12, 2007, 10:28 AM   #5
PapZ
macrumors newbie
 
Join Date: Oct 2007
Thank you guys, you solved the problem!

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

Quote:
pico .ssh/known_hosts
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
PapZ is offline   0 Reply With Quote
Old Aug 15, 2008, 01:41 PM   #6
penter
macrumors 6502a
 
penter's Avatar
 
Join Date: Jun 2006
Send a message via AIM to penter Send a message via MSN to penter
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?
__________________
jaded fanboy
penter is offline   0 Reply With Quote

Reply
MacRumors Forums > iPhone, iPod and iPad > iPod touch

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
How Can I Rename/Delete a File While In The "Select File To Upload" Window? JJ2Man OS X 10.8 Mountain Lion 1 Aug 6, 2013 05:38 AM
SSD reporting wrong file space after large file delete chrisrosemusic1 MacBook Pro 2 Feb 28, 2013 07:56 AM
can't delete file njain Mac OS X 10.7 Lion 2 Dec 15, 2012 01:06 PM
PLEASE help me delete this file! eroxx iMac 24 Dec 10, 2012 11:32 AM

Forum Jump

All times are GMT -5. The time now is 11:55 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC