Jailbreak iPod Touch
release your ipod touch from jail
Custom Search
Home      SSH guide
SSH Guide
Part I: What is SSH?

What is it?
Accessing the filesystem of your iPod from your computer, so you can see the files over the internet. It stands for Secure Shell.

Why you need it?
Not everything is available in Cydia. Many theme creators release their themes on a forum rather than submitting them Cydia. Some beta testing can involve SSH, and sometimes if there's a problem with your iPod, SSH can work for you. If you need to put some files on your iPod, then you need SSH.

Part II: Getting it on your iPod

STEP 1: Jailbreak your iPod.
STEP 2: Find your IP Address
  • Tap on Settings (the cogs).
  • Connect to a network.
  • Tap the blue arrow next to the network you're connected to.
  • There should be a field called 'IP Address.'
  • Write down the number in the field. It should look something like '192.168.1.100.'

STEP 3: Installing OpenSSH
  • Open Cydia. If it has to reorganize and there are upgrades, upgrade and reorganize first rather than proceeding to the next step.
  • Tap 'Featured Packages,' scroll down, and tap 'OpenSSH.'
  • Install it by tapping the button in the top right corner that says Install.
  • When it is complete, power off your iPod by holding the power button (button at the top), and slide to power off.

Part III: Setting up your Computer

STEP 1: Download a client

Download one of the clients below. If you have a Mac, choose one of the Mac clients. If you have a PC, choose a PC client. If you have a wireless connection, please choose a wireless client. If not, choose a wired client.

Most of these have simple installations. Those that do not, there should be instructions on the page that I have given you. Set up your client and come back here.

Mac
PC
Part IV: Connecting to your iPod

STEP 1: Get your iPod ready
  • Turn your device on.
  • Tap Settings
  • Tap General
  • Then tap Auto-Lock
  • Change it to never

STEP 2: Connecting
  • Open your SSH client
  • Open a new connection
  • Change it to a SFTP client
  • Change your server address to the IP Address you wrote down earlier
  • Make sure your port is 22.
  • Change your username to 'root'
  • Change your password to 'alpine'
  • Click connect
  • Wait for a bit and when it gives you the choices of 'Allow,' 'Deny,' and 'Always Allow.' Select 'Always Allow.'
  • You are then connected.
    • If you are connecting via the command line...
    • Type this in to Terminal: 'ssh root@<IP Address Here>
    • Your password is alpine.

Part V: Handy Tips & Tricks

Changing your password from alpine
  • Login to your iPod via the command line (or use the command line function in your GUI client) and type in:
    Code:
    su root
    alpine
    passwd
  • Then type in your new password. If you want to change your password for mobile, type this in, instead of just passwd:
    Code:
    passwd mobile
  • You’re good to go! Login with your new password to test it.

Good locations to bookmark
  • /Applications - Applications
  • /Library/Themes - Winterboard Themes
  • /System/Library/CoreServices/SpringBoard.app - SpringBoard.app
  • /var/mobile/Applications - App Store Applications
  • /var/mobile/Media/DCIM/100Apple - Saved Photos
  • /var/mobile/Media/DCIM/999Apple - Screenshots

Handy Commands
  • Find App Store applications

    Code:
    cd /var/mobile/Applications/
    find ./ -name AppNameHere
  • Set permissions

    Code:
    chmod -Rf PermissionNumberHere /DirectoryHere/SubDirectoryHere
  • Remove Directory

    Code:
    rm -rf /DirectoryHere/SubDirectoryHere
  • Respring

    Code:
    killall SpringBoard
  • Reboot

    Code:
    reboot