Guide - SSH to your Iphone via USB | |
| Wednesday, August 20, 2008 | discuss in our forum | read comments(59) |
Since i've been doing some work on my phone at work i have not been able to SSH into it. Wifi is against company policy, so i had to think of something. After some research on the net i came accross a utitliy called iphone_tunnel. This application basically maps over a port to your local pc. So since SSH is running on port 22 it will map it over to your local pc and then you SSH into your local ip 127.0.0.1.
Note your phone needs to be jailbroken and have SSH running otherwise you cant SSH to your phone.
Let me explain a with more detail.
Step 1.
First go and grab the files neccesary here.

Step 2.
Go ahead and extract the content of the rar file.

Step 3
Start a dos command window and browse over to the directory where you extracted your rar file. In my case this is at c:\iphone then run this command "iphone_tunnel.exe 22 22" without the quotes. This will start the tunneling service.

Step 4.
Launch your client, we're usingn WinSCP found in out files section. In the host name enter ip 127.0.0.1 then click login and wait.

Step 5.
When it prompts you for the user name put in "root"

When it prompts you for password enter "alpine"

You should now be able to browse your iphone content.

If this guide helped you, please take the minute to digg our store with the link on the right.
Note your phone needs to be jailbroken and have SSH running otherwise you cant SSH to your phone.
Let me explain a with more detail.
Step 1.
First go and grab the files neccesary here.
Step 2.
Go ahead and extract the content of the rar file.
Step 3
Start a dos command window and browse over to the directory where you extracted your rar file. In my case this is at c:\iphone then run this command "iphone_tunnel.exe 22 22" without the quotes. This will start the tunneling service.
Step 4.
Launch your client, we're usingn WinSCP found in out files section. In the host name enter ip 127.0.0.1 then click login and wait.
Step 5.
When it prompts you for the user name put in "root"
When it prompts you for password enter "alpine"
You should now be able to browse your iphone content.
If this guide helped you, please take the minute to digg our store with the link on the right.
59 Comments :
| iphone3g-mods - which itunes version are you running? | ||
| - I got the same error as above, Im using Itunes version 8. | ||
| iphone3g-mods - which os? | ||
| - i get similar error new connection! MobileDevice:AMDeviceNotificationSubscribe:USBMuxListenerCreate: No error AMDeviceNotificationSubscribe = -402653131 callback error! vista32 .net 3.5 iT 8 iP2G 2.1 | ||
| freeze - im stuck at step 3.im a newbie with this ms dos thing. everyitme i run the command window,this will appear C:\Users\user>_ how do i set this to be only: C:\ | ||
| - To get from C:\users\user, just type in cd.. and it will bring you up a level. So in this case it would bring you up to Users. Then do it again to get to C:\ | ||
| - And this isn't working for some reason. When i type in "iphone_tunnel 22 22" the cursor moves to the next line and does nothing. I am using iPod Touch with iTunes 8.0.1.11 and I am running Vista. | ||
| - i got the same thing cursor moves and nothing happens! help plzzz | ||
| - Wow, it didn't work on one of my school computers but it did on another! Cool!!! | ||
| - Thank you so much!!!!!!! | ||
| - this comment is really late, but for the guys who posted december 4 and 28, after it does nothing, login in to winscp. then it should do its thing. | ||
| - thanks a million i was getting block by this hotel wifi thanks again :) | ||
| - This was excellent! Worked like a charm! Thanks a bunch! thought I am a bit of a moron, i couldn't find the Digg thing you were talking about... | ||
| Leo - THIS FUCKING SUCKS! YOU GUYS DPNT GELP AT ALL ONLY SAY INSTALL OPEN RUN BKAH BLAH NO DETAILS NOTHING THIS SHIT ITS USELESS MORE DETAILS!!!!!! | ||
| iphone3g-mods - if you need more help please join our forum and we can help you from there, funny your the only one not getting it | ||
| - Thankyou so much!!! brilliant piece of code. :) | ||
| - new connection ! MobileDevice: AMDeviceNotificationSubscribe: USBMuxListenerCreate: No error AMDeviceNotificationSubscribe = -402653131 callback error ! was there ever a solution for this? | ||
| - what when software stops it? | ||
| - I get the same error as Vladimir...is there a resolution to it? | ||
| - My messgae is the one above using: Vista iTunes latest version WinSCP latest version Hope you can help | ||
| - Same prob. as above after updating to 3.0 | ||
| - try to open itunes with your iphone connected , so the itunes create the .plist file....I am not sure, just try it. | ||
| - @above: iPhonebrowser... sorted. | ||
| - Just copy your file "iTunesMobileDevice.dll" into "C:\Program Files\iPhone Tunnel Suite\iTunnel". My iphone is 3.0 and it works perfectly. | ||
| 재영 - This comment has been removed by the author. | ||
| - THANKS!! WORKS GREAT!!! COPIED FOLDER FROM "ALL USERS" PROFILE TO "MY USER PROFILE" THANKS!!! | ||
| - Copy and paste of lockdown folder from All Users\Apple to *my-user-name*\Apple Computer (see above) works like a charm. Thanks! | ||
| - hellloo!!! it's working fine !! i did it !! thank you !! this is a better method than the one with cute ftp have a nice day !!! | ||
| - Here's the fix for 'Could not load pairing record' error: http://www.ipodtouchfans.com/forums/showthread.php?t=206096 Just tried it and it works :) | ||
| iphone3g-mods - the reason for that is because if you update your itunes, or a new version comes out you have to update that file, this guide was written pre version 8 so the file included is outdated, move the new version of what ever itunes version you are running into that folder and voila your tethering will work again :) thanks for pointing that out | ||
| Mike Crandall - Getting this error in iTunes 9.0.1: new connection ! AMDeviceNotificationSubscribe = 0 iPhone attached ! AMDeviceConnect = 0 AMDeviceIsPaired = 1 AMDeviceValidatePairing = 0 AMDeviceStartSession = 0 MobileDevice: _send_message: Could not encode message as XML AMDeviceStartService = 0 AFCConnectionOpen = 0 | ||
| - Whoops, Slight Correction, After isntalling the MSI, copy "C:\Program Files\Common Files\Apple\Mobile Device Support\bin\iTunesMobileDevice.dll" to the same folder as your itunnel.exe file | ||
| - Ummm gus can u please help me when I download Iphone tunnel my anti virus system says it's a virus is this true plus i am using Norton 360 | ||
| Admin - Nice tutorial, see this tutorial too, all working solutions are required stuff is added too. http://developerinstincts.blogspot.com/2009/12/ssh-to-iphone-via-usb.html I tried it myself and it is working. My problems were solved by using other version of iTunnel. Thanks. | ||
| - To fix the "Could not encode message as XML" error, you must upgrade iTunnel: http://27.am/posts/52/restoring-iphone-usb-access-under-itunes-9 | ||
| TMR - iSutal V9.10.09 Released- iSutal i-FunBox | File Manager, Browser, Explorer, Transfer Tool for iPhone, iPad & iPod Touch via USB if you want to copy your files and winSCP doesnt work with this works fine. Firmware 3.1.2 iPhone 3G 8GB | ||
| iphone3g-mods - now a days just install 2 things air share HD + ifile airshare will let you dump files on your device and ifile will let you move it copy it or extract it anywhere on your phone its a file browser for the iphone ipad | ||
| - the updated iTunnel file that anonymous posted worked. thanks. | ||
| - which itunnel file ? mine still not working for me here .. tried to copy and paste the mentioned folder above.. i still got the error: software caused connection abort. any solution ? | ||
| - X is lying! dont trust him. it will make your itunes not working anymore. once you remove the mobile device support, you wont find the msi, its pointless. | ||
| - Yah you r right with x's solution I have to reinstall all the iTunes and all. I am getting encode XML error. Is there anyone who knows the fix. I am on Windows 7, iTouch iOS 4.1, iTunes 10 | ||
| - make sure that "Apple Mobile Device" service is started as well. To check, you can run "services.msc" from Run prompt. | ||
| Ramappa - Hi Is this solution only for jailbroken iphone. I've iphone 4 not jailbroken. I'm getting below error. I replace the latest .dll file and also Lockdown folder. I've itune 10 installed and itunnel9. Any specific itunnel for itune 10 please? new connection ! MobileDevice: AMDeviceNotificationSubscribe: USBMuxListenerCreate: No error AMDeviceNotificationSubscribe = -402653085 callback error ! Regards, Ram | ||
| snowfox - new connection ! MobileDevice: AMDeviceNotificationSubscribe: USBMuxListenerCreate: No error AMDeviceNotificationSubscribe = -402653131 callback error ! os window 7 | ||
| - I've seen that itunnel is now outdated and that you must use i-funbox instead. | ||



Post a Comment
Please leave a comment and no spam.