Cal-Pals: My Tech Tips for Nerds posts are targeted at my nerd/programmer readers, so you can skip this post if you’re not interested in such things. 😉
Ok, so when I have to Google several times to find some techie info and then wade through lots of useless, superior-tones posts like “RTFM n00b” before finding a simple answer to a question, I try to post what I’ve found in hopes that other Googlers can get the info quickly.
If your jailbroken iPhone is running iOS 4 and you need a working Terminal app, especially for something important like changing the iPhone’s default SSH password, here’s what worked for me:
- Go here and download this deb: http://code.google.com/p/mobileterminal/downloads/detail?name=mobileterminal_364.3-12_iphoneos-arm.deb&can=2&q=
- SSH into your iPhone as root/alpine and put the deb file into root/home/Media/Cydia/AutoInstall
- Power the phone on and off
Now you should have a working Terminal app. To change your root SSH password (alway a good idea, lest anyone around you see an open connection and log into your phone using the default password):
- Run Terminal, and you will be logged in as mobile user by default
- At the prompt, type: su root
- For password: (enter alpine and hit return, you will not see the characters)
- You’ll now be logged in as root.
- Then type: passwd and hit return
- It should now prompt you to type in a new password. Again, you will not see the characters.