How to SSH into your iPhone in 5 Easy Steps

Posted in How-To, Jailbreak by meebz. Published December 15th, 2008

Meebz Picture Guide to SSHing into Your iPhone
(A Mac and Windows Tutorial)

On Your Phone:

1. Download OpenSSH from Cydia

Photobucket

Photobucket

2. Get Your iPhone’s IP Address

Go to Settings on your iPhone

Click on Wi-Fi

Click on the Blue Arrow by your Network’s Name

Photobucket

Photobucket

Photobucket

On Your Comp:

Mac OSX

1. Download Cyberduck
2. Click Open Connection

Photobucket

3. Change Protocol to SFTP (SSH File Transfer Protocol)

Photobucket

4. Type in your iPhone’s IP Address in the Server area.

Photobucket

5. Username: root
Password: alpine

Windows

1. Download FileZilla

2. Open File –> SiteManager –> Click New Site
3. Fill In the Fields

Host: Enter in the iPhone IP Address

ServerType: SFTP (SSH File Transfer Protocol)

LoginType: Normal

Username: root
Password: alpine

Photobucket

You can now access the iPhone file system.

Photobucket

If you need information on where to place or find files, leave a message.

Share and Enjoy:
  • Digg
  • TwitThis
  • Technorati
  • StumbleUpon
  • Facebook
  • Google
  • YahooMyWeb
  • E-mail this story to a friend!

2 Comments Jump to the comments form

Adonis Stergiou says...

I’ve been having a huge problem on trying to back up my 2.1 apps on Itunes, everytime I connect it to the computer. It’ll take more than 6 hours and never finishes at the end. I want to back up my apps that i payed for because it says that it wont have those apps on the restored settings for 2.2, but will only if it is backed up onto itunes. Any help would be greatly appreciated because I don’t want to lose money on all my apps that I need. Should I SSH into my iphone, get my contacts and apps also everything i want to be on 2.2? I don’t know what to do!!!! Any help would be great!!!Thanks

meebz says...

I posted a fix below that a lot of people have had success with. You should try the fix first and if it doesn’t help:

1. SSH into your iPhone and copy over your applications folder
2. Sync your contacts through iTunes to a Yahoo account

Let me know how it works out for you or if you need any additional information.
——————————————————————————
iPhone Back Ups Resolved

“Extraordinary long backups are caused by an error when an app (or apps) was installed or updated, particularly if you have ever installed or updated using the App Store on the device itself rather than iTunes. Even if you were never aware that there was a problem, they can arise and will cause problems with the backup process. Maybe you did have a problem during an update or install. Maybe the update stalled, or the App Store crashed. These issues are very likely what have been causing your long backups and you didn’t even know it. During the backup process these errors cause it to drag and pause for a very long time before it gets moving again. From your view, you just see a normal backup that is taking hours, and undoubtedly annoying you to no end. On the inside, iTunes is trying desperately to get past a roadblock that it doesn’t know where it came from.

This is how to fix the problem. This is not a quick fix, but it is an effective fix. And it is a FIX, not a band aid. Depending on how many apps you have installed, this can take several hours to complete. You will also lose all game scores and any other data stored in your apps. You will be starting fresh. It is an inconvenience, but in the end, you will be rewarded with quick, efficient backups, the way Apple intended. And you will never have to dread the
iTunes backup again.

The Process:

1. Open iTunes, go to Edit>Preferences>Syncing and remove all previous backups. Also click “Disable automatic syncing for all iPhones and iPods”

2. In your system file structure, locate the backup files for iTunes.
On Windows: C:\Documents and Settings\USERNAME\Application Data\Apple Computer\MobileSync\Backup
On a Mac: Users/YOURACCOUNT/Library/Application Support/MobileSync/Backup
Delete ALL files and folders inside the Backup folder.

3. Plug in iPod. On the Applications tab, uncheck sync apps. iTunes will ask if you want to remove the apps from the iPod, say yes. Click sync. This will remove all apps on your iPod, it will also backup the ipod. This backup will be very fast, and will recreate the backup folders you deleted in step 2.

4. After the sync is complete, if there are any apps left on your ipod, touch and hold the icon until it starts to wiggle, then touch the X to delete the app. Delete all apps left on your ipod. Then sync again.

5. After the sync is complete, disconnect the iPod and do a hard restart by holding down the sleep/power button until the slider appears, slide to power off. Wait 5 seconds and push the power button again and wait for the ipod to boot up.

6. Connect your iPod again. Now begin adding apps back to your ipod one by one. On the Applications tab, click “Sync applications” AND “Selected applications”. Make sure all apps are unchecked.

7. Check one app and sync. After the sync is complete, right click on your ipod under Devices in the left column of iTunes. Click “Back Up” and allow the backup to complete.

8. Repeat step 7 for each app you want to install. Keep the previous installed apps checked, just check one more app each time. Be sure to backup after each install. As you add more and more apps, the backup will take longer and longer as the process scans apps for changes. An initial backup can also be long for a particularly large application. However, ONLY the initial backup after you install an app will take a long time. Subsequent backups are very quick. Even these “long” backups are just minutes long, sometimes up to 15 minutes in my experience.

9. When you are finished installing and backing up all apps, go to Edit>Preferences>Syncing and enable automatic syncing for all iPhones and iPods.

10. Unplug and plug your device back in just for kicks. Let it back up and sync. Better?

Leave a comment

Name: (Required)

E-mail: (Required)

Website:

Comment:

Technology Blogs - BlogCatalog Blog Directory Add to Technorati Favorites