LATEST APPSGONEFREE Follow us on twitter
GearAdvice AppAdvice/TV NowGaming WatchAware

How to access the command line on your iPhone / iTouch

July 3, 2008
So, since I have a feeling it might be useful sometime in the near future, I'm going to tell you about how to access the command line on your iPhone.  Piece of cake.  So, here goes:
1)  Get thee to a SSH client.  On an OS X computer, just open up Terminal and you're done.  Windows users should pick up PuTTY. 2) Make sure that OpenSSH is loaded on your mobile device and turned on.
3) Open your client and type:
ssh root@[your ip address]
4) It will ask for the root password, which is "alpine."
And that's it!  You're in.  Now, maybe you're wondering why, even though we've never met, I know the password to your iPhone?  That would be because every single iPhone has the SAME ROOT PASSWORD.  And that's bad, right?  Bet you'd like to change that, huh? Yeah, let's take care of that.
  • With an SSH connection open, type "passwd".
  • Type your new password.  The cursor won't move.
  • Re-type your new password.  The cursor STILL won't move.
  • All done.
  • So there you have it.  Safer iPhone.  Although really, if you don't notice the person walking up to you with a wifi router, a laptop running SSH, and who asks to see your phone to determine the IP, I don't think there's a security measure in the world to protect you...

    Related articles