SSH into your ipod/iphone via Ubuntu terminal to execute commands

Discussion in 'iPod touch' started by robertomano24, Nov 2, 2009.


Was this helpful?

  1. Yes

    2 vote(s)
  2. No

    0 vote(s)
  3. I dont have Ubuntu

    0 vote(s)
  1. robertomano24

    robertomano24 Member

    Jun 16, 2008
    Likes Received:
    4G iPod touch
    I haven't seen a tutorial on this. And this is my first tutorial on these forums.. so bear with me.

    I am using and iPod touch 2G, however, this will work on any jailbroken device (firmware 2.0 and up ~ I am on 3.1.2). Also, I am using Ubuntu 9.1 Karmic Koala. Some steps may not work accordingly depending on your version of Ubuntu.

    Here we go

    Get your iPhone/iPod out
    Download the following from Cydia: OpenSSH, sbsettings
    Respring or Reboot your iPhone/iPod
    Open terminal on Ubuntu (Accessories>Terminal)
    Now, slide (from one side to the other) of your iPhone/iPod status bar. (Where it shows the clock, wifi, battery, etc.)
    This should pop up (though it will look slightly different)
    What we want from this is here

    Please Register or Log in to view images

    <---------- Wi-Fi IP Address:

    Your local IP address will probably not be "", but whatever the number, you need that.

    Now that you have that number (IP Address), type or copy/past this into Ubuntu terminal. "ssh -p 22"
    Where "ssh" is the built in function to allow Ubuntu to ssh, "-p" signifies you are connecting through a port, "22" is the port you are connecting to, and "" ---"root" is the root folder of your iProduct with root permissions and is your IP you got from the previous step---. (replace with your IP _ex.

    Please Register or Log in to view images

    It will ask for a password. Default password is "alpine". If you changed it, you know what it is.
    Now you are logged in.

Share This Page