Ok, since i jailbroke my iphone 4 on 4.1, i want to ssh into it, but i want to be on the safe side and change my root password. As most people have found out, MobileTerminal is not working on the iphone 4 (or it could be just the ios 4.1). Whatever the case may be, it just crashes upon opening, so you cant change your password from the device.
Well, after a little searching, i found a way to change the root password for my iphone 4 without using MobileTerminal. Here is how
Before I go any further, this is for WINDOWS users. I do not have a mac, but this youtube video will work for you
http://www.youtube.com/watch?v=OKaOskbIWGU
For those of you with Windows, this is what all you need:
On iPhone
Jailbroken iphone 4 on 4.1 (im assuming this will work with others phones as well as other firmwares)
OpenSSH installed through Cydia
On PC:
winSCP (downloadable here) http://sourceforge.net/projects/winscp/files/WinSCP/4.2.9/winscp429setup.exe/download
Putty (downloadable here)http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
note: for putty, download the putty.exe file (first one in first column). THIS IS ALL YOU NEED!
and obviously of course, a wifi connection with both the phone and pc hooked up to it
1. obtain the ip address of your iphone
2. open Putty on your pc
3. when the putty box opens, input your iphone ip address as the host name. make sure the port # is 22 and the connection type is SSH. a box appears about the cache, bla bla bla. i just clicked ok
4. when the box opens, it will say "login as". type in "root"
5. the next line should say "root@<iphone ip address>'s password". input the word "alpine"
6. the next line should say "<your iphone name>:~ root#". input the command "passwd"
7. input your new password, and re-enter it to verify it
8. it should go back to the line from #6. if this is correct, open winSCP
9. in winSCP, input your iphone's ip as the host name, ROOT as the username, and your new password as the password. and click login
10. if all is successful, you should have SSH'd into your iphone with your new password
i know this is sort of vague and sloppy, but i will update later tonight with more details and screenshots
hope this helps everyone
Well, after a little searching, i found a way to change the root password for my iphone 4 without using MobileTerminal. Here is how
Before I go any further, this is for WINDOWS users. I do not have a mac, but this youtube video will work for you
http://www.youtube.com/watch?v=OKaOskbIWGU
For those of you with Windows, this is what all you need:
On iPhone
Jailbroken iphone 4 on 4.1 (im assuming this will work with others phones as well as other firmwares)
OpenSSH installed through Cydia
On PC:
winSCP (downloadable here) http://sourceforge.net/projects/winscp/files/WinSCP/4.2.9/winscp429setup.exe/download
Putty (downloadable here)http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
note: for putty, download the putty.exe file (first one in first column). THIS IS ALL YOU NEED!
and obviously of course, a wifi connection with both the phone and pc hooked up to it
1. obtain the ip address of your iphone
2. open Putty on your pc
3. when the putty box opens, input your iphone ip address as the host name. make sure the port # is 22 and the connection type is SSH. a box appears about the cache, bla bla bla. i just clicked ok
4. when the box opens, it will say "login as". type in "root"
5. the next line should say "root@<iphone ip address>'s password". input the word "alpine"
6. the next line should say "<your iphone name>:~ root#". input the command "passwd"
7. input your new password, and re-enter it to verify it
8. it should go back to the line from #6. if this is correct, open winSCP
9. in winSCP, input your iphone's ip as the host name, ROOT as the username, and your new password as the password. and click login
10. if all is successful, you should have SSH'd into your iphone with your new password
i know this is sort of vague and sloppy, but i will update later tonight with more details and screenshots
hope this helps everyone
Last edited: