HOWTO: Install SSH on your iPhone *DEPRECATED, use iBrickr instead*

Tags: easy, hacks, iphone, ssh
These instructions are deprecated - it's much easier to download iBrickr and install the dropbear and binkit packages using the Applications interface.

Instructions left for nostalgia sake, though:

These instructions work with the latest 1.0.1 iPhone update.

Right now these instructions work for Windows. A Mac OSX version must be made by someone else, but the translation is fairly easy. The sshify-windows.bat must be replaced with a file that contains equivalent Mac OSX commands.

These instructions MUST be run on a phone that has already had Jailbreak 1.1 run on it. For instructions on that see the custom ringtone tutorial.

This tutorial is dead easy.

Step 1 - Download Nate True's iPhone SSH kit.

Step 2 - Extract that to a folder somewhere.

Step 3 - Run sshify-windows.bat and follow the instructions carefully.

Okay, Step 3 is more steps but they are laid out plainly.

Step 4 - Connect with SSH! You should be able to use an SCP client like WinSCP to put more files from the latest compiled binkit.

Return to Nate True's blog

Comments:

Posted by gadgetgirl 7 years ago ( 01-Aug-2007 01:14:51 )

The sshify-window.bat script appears to neglect adding au.asn.ucc.matt.dropbear.plist to /System/Library/LaunchDaemons (or the script tries and the file is not in the sshkit.zip file. It's late and I didn't debug thoroughly). I was unsuccessful with your script until I added au.asn.ucc.matt.dropbear.plist by hand (now it works). Thanks for putting this together! :)

Posted by artist 7 years ago ( 02-Aug-2007 17:09:31 )

I am a novive but how do you actually use SCP with the iPhone? I could get as far as the three steps but I don't have a host name or password & port number? I would appreciate some advice.

Posted by kdbdallas 7 years ago ( 04-Aug-2007 12:47:27 )

I made a mac version, and made it a little better. You can download the mac version here: http://iphone.port21.com/Code/iPhone_SSH_Install_for_Mac.zip

This comment was edited at 2007-08-04 12:48:03


Posted by artist 7 years ago ( 05-Aug-2007 18:25:39 )

I am working on Windows. If anyone can provide that I'd appreciate it. Thank yall so much

Posted by artist 7 years ago ( 06-Aug-2007 14:17:47 )

why am i getting connection timeout error?

in phase 4: putting init framework into place the 2nd filref# file remains at 0?

anyone know why?

thus, when I connect, WinSCP times out

Posted by devo 7 years ago ( 06-Aug-2007 20:00:54 )

I am getting strange error, tried rebooting and got less errors, but keep getting this one...any ideas....

--------PHASE 4: Putting init framework into place------

1 file(s) copied.
1 file(s) copied.
iPhoneInterface v0.3.1 built on Jul 14 2007

USBMuxListenerCreate: No error
Problem registering main callback: -402653180
--------PHASE 5: Restarting your iPhone, again---------

Posted by devo 7 years ago ( 06-Aug-2007 20:04:40 )

sorry, also to add, the process plows thru totally but when I try to SCH into my iPhone, it says "Network Error: Connection refused." if that helps any. thanks in advance for any ideas. -Devo

Posted by artist 7 years ago ( 06-Aug-2007 20:21:34 )

I can't get in phase 4: putting init framework into place the 2nd filref# file remains at 0?

anyone know why?

thus, when I connect, WinSCP reads "Network Error: Connection refused." as well.

Thanx

Posted by artist 7 years ago ( 06-Aug-2007 21:44:44 )

Finally got it. add the au.asn.ucc.matt.dropbear.plist manually to that stated directory. It works great now.

Posted by consumption 7 years ago ( 07-Aug-2007 12:37:43 )

@artist when did you add the file "au.asn.ucc.matt.dropbear.plist" after you ran the .bat file?


Posted by artist 7 years ago ( 07-Aug-2007 16:35:46 )

run the au.asn.ucc.etc.... file after the *.bat file.. So Yes, Correct. just use iphoneinterface to add the au.asn.... file to the /System/Library/LaunchDaemons directory.

After that reboot your iphone and boom. You got it.

good luck.

Posted by artist 7 years ago ( 07-Aug-2007 16:36:38 )

dont forget to use lockdown and exit to iphone interface as well to finalize that execution.

Posted by mackalvin 7 years ago ( 08-Aug-2007 07:47:30 )

@Artist, this is mac kalvin, can u let me know from where i can get this au.asn.ucc file and what i need to write in script file to copy into iPhone. Thanks & Warm regards Mac

Posted by artist 7 years ago ( 08-Aug-2007 19:53:42 )

http://iphone.natetrue.com/

the eighth file is the one you want.
Plus use iphoneinterface in the command prompt.

use cd \ (to get back to the harddrive directory
use cd phonedmg to use that directory

then in that directory just add phondmg/iphoneinterface and connect your phone then, assuming you ran jailbreak, add the command:

putfile /System/Library/Launch/Daemons/au.asn.ucc.matt.dropbear.plist

than do a lockdown and exit :D

PS.. (DOES ANYONE KNOW HOW TO USE THE WIRELESS WI-FI to use the phone music over wifi? I'm stuck at the last step)

Posted by consumption 7 years ago ( 09-Aug-2007 08:13:49 )

what is a lockdown?

Posted by themagicman 7 years ago ( 19-Aug-2007 09:03:33 )

Nate- when I tried to run the program sshify-windows.bat...the CMD prompts goes directly to step 3 and I get this any ideas what's going on? (windows vista/itunes 7.3.1)
thanks

Hello, this batch file will install and enable a SOCKS server on your iPhone.
Script authored by Nate True ( http://cre.ations.net/blog )
Mad thanks to:
- ziel (for writing Jailbreak)
- NerveGas (for compiling these programs for iPhone)
- Nightwatch (for making a working iPhone compiler)
And the rest of the #iphone dev team. Also thanks to the writers of srelay!

--------PHASE 1: Getting files off your iPhone---------

The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.

--------PHASE 2: Uploading files and reconfiguring your iPhone---------

The system cannot find the file specified.

--------PHASE 3: Restarting your iPhone---------

Press and hold the Power button on your iPhone until it shows the "slide to turn
off" red slider.
Slide it, wait for the phone to turn off, and press the power button to turn it
on again.
Press any key to continue . . .

Posted by madrich 7 years ago ( 21-Sep-2007 07:35:36 )

Battery life and SSH: I read that that SSH s/b unloaded to stop it from draining my IPhone battery. I am novice and don't know how to check if my IPhone has this problem. If so, how to fix it? Thank you in advance.

This comment was edited at 2007-09-21 15:34:17


Posted by hollywoodd 7 years ago ( 11-Oct-2007 22:59:33 )

I am running this in windows command mode... and i have no access to the IPHONE GUI because its still locked... how do i find out what its IP address is?

Posted by vinkap 7 years ago ( 12-Oct-2007 22:53:11 )

Is OpenSSH not the same as "Nate True's iPhone SSH"?? I read couple of articles ("www.iphonealley.com/tips-and-tricks/regain-battery-life-after-installing-3rd-party-applications" being one of them) that say you should disable the SSH daemon to conserve battery life. However, "Services" app doesn't show the SSH process on my phone where I installed Nate True's iPhone SSH which leads me to believe that the two are not the same. Can anyone pls. point me to the right direction as to how can I go about disabling Nate True's iPhone SSH server process so that it doesn't keep running all the time. Thx.

Posted by jillian 4 years ago ( 10-Nov-2010 21:18:52 )

After you are searching <a href=http://www.earlshop.com/>ladies watches</a> for a perfect gift to get a girl buddy, a leather purse is an ideal decision also. Leather purses can actually make an fantastic present to get a graduate, bridesmaid, bride, colleague and so forth. You <a href=http://www.sonbags.com/>designer handbags</a> may uncover numerous fashionable leather purses on the internet, this kind of as:Turnlock <a href=http://www.earlshop.com/Watches-Audemars-Piguet.html>audemars piguet</a> Purse. This eye-catching Melie Bianco double zipper flat tote has the chops to hold you from day to night devoid of blinking twice. This convertible purse is clearly hitting <a href=http://www.sonbags.com/louis-vuitton.html>Louis Vuitton handbags</a> the rapidly track to fabulous, offering a structured silhouette with traditional fixtures, like vintage-inspired turnlocks. This purse boasts vertical zippers that add a retro-rebellious appear and maintain <a href=http://www.earlshop.com/Watches-Breitling.html>breitling</a> pockets closed, whilst contrasting top stitching adds a contemporary touch. A uncomplicated flap closure is kept shut having a uncomplicated turn from the clasp. Inside of, you may locate a zippered pocket and <a href=http://www.sonbags.com/christian-dior-handbags.html>christian dior handbags</a> two accessory pockets. Obtainable in Black with silver hardware and Tan with gold hardware, you're positive to discover a golf bag that matches your own brand of design.Bucket Bag. This leather-based <a href=http://www.earlshop.com/Watches-Breitling.html>breitling watches</a> bucket purse is an ideal tool in organizing your belongings for your road trip. This timeless tote with trendy appeal is armed with four exterior <a href=http://www.sonbags.com/balenciaga-handbags.html>balenciaga handbags</a> pockets and ample rooms within.

Posted by jillian 4 years ago ( 10-Nov-2010 21:19:15 )

After you are searching ladies watches for a perfect gift to get a girl buddy, a leather purse is an ideal decision also. Leather purses can actually make an fantastic present to get a graduate, bridesmaid, bride, colleague and so forth. You designer handbags may uncover numerous fashionable leather purses on the internet, this kind of as:Turnlock audemars piguet Purse. This eye-catching Melie Bianco double zipper flat tote has the chops to hold you from day to night devoid of blinking twice. This convertible purse is clearly hitting Louis Vuitton handbags the rapidly track to fabulous, offering a structured silhouette with traditional fixtures, like vintage-inspired turnlocks. This purse boasts vertical zippers that add a retro-rebellious appear and maintain breitling pockets closed, whilst contrasting top stitching adds a contemporary touch. A uncomplicated flap closure is kept shut having a uncomplicated turn from the clasp. Inside of, you may locate a zippered pocket and christian dior handbags two accessory pockets. Obtainable in Black with silver hardware and Tan with gold hardware, you're positive to discover a golf bag that matches your own brand of design.Bucket Bag. This leather-based breitling watches bucket purse is an ideal tool in organizing your belongings for your road trip. This timeless tote with trendy appeal is armed with four exterior balenciaga handbags pockets and ample rooms within.

Posted by jillian 4 years ago ( 10-Nov-2010 21:20:02 )

After you are searching [url=http://www.earlshop.com/]ladies watches[/url] for a perfect gift to get a girl buddy, a leather purse is an ideal decision also. Leather purses can actually make an fantastic present to get a graduate, bridesmaid, bride, colleague and so forth. You [url=http://www.sonbags.com/]designer handbags[/url] may uncover numerous fashionable leather purses on the internet, this kind of as:Turnlock [url=http://www.earlshop.com/Watches-Audemars-Piguet.html]audemars piguet[/url] Purse. This eye-catching Melie Bianco double zipper flat tote has the chops to hold you from day to night devoid of blinking twice. This convertible purse is clearly hitting [url=http://www.sonbags.com/louis-vuitton.html]Louis Vuitton handbags[/url] the rapidly track to fabulous, offering a structured silhouette with traditional fixtures, like vintage-inspired turnlocks. This purse boasts vertical zippers that add a retro-rebellious appear and maintain [url=http://www.earlshop.com/Watches-Breitling.html]breitling[/url] pockets closed, whilst contrasting top stitching adds a contemporary touch. A uncomplicated flap closure is kept shut having a uncomplicated turn from the clasp. Inside of, you may locate a zippered pocket and [url=http://www.sonbags.com/christian-dior-handbags.html]christian dior handbags[/url] two accessory pockets. Obtainable in Black with silver hardware and Tan with gold hardware, you're positive to discover a golf bag that matches your own brand of design.Bucket Bag. This leather-based [url=http://www.earlshop.com/Watches-Breitling.html]breitling watches[/url] bucket purse is an ideal tool in organizing your belongings for your road trip. This timeless tote with trendy appeal is armed with four exterior [url=http://www.sonbags.com/balenciaga-handbags.html]balenciaga handbags[/url] pockets and ample rooms within.

Posted by jillian 4 years ago ( 10-Nov-2010 21:20:33 )

After you are searching http://www.earlshop.com/ for a perfect gift to get a girl buddy, a leather purse is an ideal decision also. Leather purses can actually make an fantastic present to get a graduate, bridesmaid, bride, colleague and so forth. You http://www.sonbags.com/ may uncover numerous fashionable leather purses on the internet, this kind of as:Turnlock http://www.earlshop.com/Watches-Audemars-Piguet.html Purse. This eye-catching Melie Bianco double zipper flat tote has the chops to hold you from day to night devoid of blinking twice. This convertible purse is clearly hitting http://www.sonbags.com/louis-vuitton.html the rapidly track to fabulous, offering a structured silhouette with traditional fixtures, like vintage-inspired turnlocks. This purse boasts vertical zippers that add a retro-rebellious appear and maintain http://www.earlshop.com/Watches-Breitling.html pockets closed, whilst contrasting top stitching adds a contemporary touch. A uncomplicated flap closure is kept shut having a uncomplicated turn from the clasp. Inside of, you may locate a zippered pocket and http://www.sonbags.com/christian-dior-handbags.html two accessory pockets. Obtainable in Black with silver hardware and Tan with gold hardware, you're positive to discover a golf bag that matches your own brand of design.Bucket Bag. This leather-based http://www.earlshop.com/Watches-Breitling.html bucket purse is an ideal tool in organizing your belongings for your road trip. This timeless tote with trendy appeal is armed with four exterior http://www.sonbags.com/balenciaga-handbags.html pockets and ample rooms within.

Posted by liyanhongxyz 3 years ago ( 02-Mar-2011 05:28:09 )

I admire you. You have done a terrific job communicating your message. Your artical is great! The content is very exciting and I can almost understand. Your report feels like an A.
http://www.juicy-couture.uk.com/
http://www.juicy-couture.uk.com/womens-swimwear
http://www.juicy-couture.uk.com/womens-dresses

Posted by liyanhongxyz 3 years ago ( 16-May-2011 03:49:36 )

This timeless tote with trendy appeal is armed with four exterior balenciaga handbags pockets and ample rooms within.
http://www.pandorascharmsale.com
http://www.oakleysunglasses.uk.com/

Posted by zhangwei 3 years ago ( 12-Jul-2011 20:49:32 )

http://www.monclerjacket4sale.com moncler jackets|
http://www.monclerjacket4sale.com/moncler-womens-vests moncler vest|
http://www.monclerjacket4sale.com/moncler-kids-jackets moncler kids|
http://www.monclerjacketsale.uk.com moncler jackets uk|
http://www.abercrombiefitchoutlet.org.uk abercrombie and fitch outlet uk|
http://www.abercrombienfitch.uk.com abercrombie and fitch uk sale|

Posted by liyanhongxyz 3 years ago ( 23-Aug-2011 06:21:57 )

All of these boot styles are already consumed an important lower back seats globally of favor until they are simply observed by means of aviators while in the 1st Globe Showdown to heated his / her toes once flying in high altitude.
http://www.juicy-coutures.uk.com/
http://www.pandorascharmsale.com
http://www.prefectweddingring.com

Posted by liyanhongxyz 3 years ago ( 02-Dec-2011 00:00:51 )

it is these days considered one of the particular mobile phone industry's most desired pandora bracelets jewellery ranges.
http://www.mulberry-bags-outlet.org
http://www.pandoracharmstoreuk.org

Log in or register to post comments.
You are not logged in.
Log inRegister now!