Install Mobile Terminal Without Jailbreak

Just getting into Jailbreak and OpenSSH on iPhone, iPod touch, or iPad and curious how to change the default SSH password? Since Apple sets all iOS devices to 'alpine', If you decide to enable SSH it is important for security reasons to change the password to something unique. Otherwise you risk someone else gaining access to your iPhone or iPad. We'll show you how after the break!

This terminal application is completely free and it does not require Cydia to be installed or the device to be jailbroken. Since it runs in a sandboxed context and as mobile instead Terminal without jailbreak!! Are you kidding This is awsome!!!

Jailbreak mobile device

Here's what you need to do to change the default SSH password. Note, this method is only for jailbroken iOS devices with OpenSSH installed and MobileTerminal installed.

  • Download MobileTerminal from Cydia. (Make sure its version 426 if using iOS 4.x..)
  • Open MobileTerminal
  • In MobileTerminal, type in: su root
  • It’ll ask you for a password, type in: alpine
  • To make the screen a bit cleaner, type in: cd
  • Now, to change your password, type in: passwd
  • Enter the password you desire (You will not see the characters in the screen as you type them for security reasons)
  • Enter the password you entered once more
  • To change the password for the Mobile user, type in: passwd mobile
  • Enter the password you desire (You will not see the characters in the screen as you type them for security reasons)
  • Enter the password you entered once more

All done! You are now secure and may close MobileTerminal. If you have any questions ask in the comments or for additional help, check out our Jailbreak Help Forum.

Tips of the day will range from beginner-level 101 to advanced-level ninjary. If you already know this tip, keep the link handy as a quick way to help a friend. If you have a tip of your own you’d like to suggest, add them to the comments or send them in to dailytips@tipb.com. (If it’s especially awesome and previously unknown to us, we’ll even give ya a reward…)

I downloaded MobileTerminal sources from http://mobileterminal.googlecode.com/svn.

I compiled it and it works perfect on iOS simulator.When run on iPhone, there is an alert said 'Not allowed to fork from inside Sandbox'.

The author of MobileTerminal said that it will work fine if put the MobileTerminal's binary in /Applications,but how to do this on a non-jailbreak iPhone? My iPhone is running on iOS5.1.Special thx.

Jailbreak mobile device
OpenThreadOpenThread

2 Answers

You can't place binaries in ./Applications on a non jailbroken iPhone.Thus this app will only work on Jailbroken iPhones.

What Is A Mobile Terminal

Also all apps on non Jailbroken iphone are placed in a sandbox and can only access files with this sandbox. Thus you can't leave the apps sandbox.

rckoenesrckoenes
  1. Download Putty and iFun-box
  2. Go into iFun-box and go to tools then in USB tunnel
  3. Copy the address of pc
  4. Enter Putty put the address

Type: su

Type in your password, in order to get root access, default is: alpine (fyi, you won't see the characters you are typing)

Type: cp -R /var/mobile/Media/Books/lib /var(fyi, be sure to note the space, mind Capitals!)[7b.] ONLY if you are getting: 'missing var/log/apt' error:

Type: su and password (if you closed Terminal before)

Type: mkdir /var/log/apt [7c.] ONLY if you are getting: 'trying to overwrite /Library/MobileSubstrate/DynamicLibraries' error:

Type: su and password (if you closed Terminal before)

Type: cd /Library/MobileSubstrate/DynamicLibraries(fyi, if folder doesn't seem to exist: do step 8 first!)

Without

Mobile Terminal Itouch

Type: ls -1(fyi, you should see 2 files now: one of them should be 'DynamicLibraries')

Type: rm DynamicLibraries[ 8. ] Open Cydia now. Install a simple tweak (it doesn't matter which one, but iCleaner is a good choice), in order to create the directory: /var/stash

Alternatively, you can also use Terminal to do it:

Type: su and password (if you closed Terminal before)

Type: mkdir /var/stash

user7504085user7504085

Mobile Terminal Wikipedia

Not the answer you're looking for? Browse other questions tagged iphone or ask your own question.