iPhone Jailbreak, change root and mobile passwords

Saturday, November 20 2010 @ 08:07 PM CET

Contributed by: Jerry Rocteur

If you jailbreak your iPhone then you must change root's and user moblie's passwords.

I'm posting this story because I did not see this warning when I jailbroke ;-)

Having said that, I didn't and ended up with the ikee worm.

What was happening is that I could not ssh into my iPhone. whenever I tried I got the error:

ssh_exchange_identification: Connection closed by remote host

So I Googled it and found this link:


At the end of the day what had happened is that because I had not changed the passwords, the ikee worm was, amongst other things, removing my /usr/sbin/sshd daemon

So be warned, change the passwords!

These procedures worked for me: (I didn't use mobile terminal, I used ssh on the iMac)


I removed the worm using ideas from these procedures:


You may also want to disable ssh (using SBSettings) when you don't need sshd.

Note that I found iPhonexplorer to be an invaluable help with getting to the files to remove http://www.macroplant.com/iphoneexplorer/

The way I did it was to use iPhoneexplorer to remove the files because my mobile terminal was not working. 

Mobile terminal not working is another story, but that is the life of Jailbreaking an iPhone.


Comments (0)