Pages

Tuesday, August 26, 2008

Clearing SSH Known_Hosts

More for my own memory here is the easy way to clear the SSH hosts. This is very useful for pwned iphone users who have restored their phone more than once. (this is only for mac users)

1. Open Terminal
2. Use "sudo ls" (without the quotes) to see where you are. You want to be in your root user folder (see below).
3. Access the .ssh folder by typing "cd .ssh"
4. Now edit the known_hosts file with pico. "pico known_hosts"
5. Delete the line of the SSH device (or ip address) you are having problems with...ie the iphone. If you have only SSHed into the iphone, delete all the IP addresses.
6. Using command X to quit, save the file with the same file name.
7. Exit terminal. Now you should have no problem SSHing or Fuguing the phone.

~soundguy

1 comment:

Princess Jessie Pants said...

I have no idea what you just said... :)