The ModMyTM Family of Sites:
ModMyMotoModMyiModMyGphone




 
 
Register or Connect with Facebook

Discuss AppStore Apps | Browse / Search Cydia | MMi Cydia Stats




  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > Computer Modding Software > OS X Specific Modding Discussion
Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 08-14-2007, 01:41 AM
What's Jailbreak?
 
Join Date: Jul 2007
Posts: 13
Thanks: 0
Thanked 4 Times in 4 Posts
Help installing SSH

tried just about every link from every different site including here and this is what I get every time

d-ls-computer:~ dl$ cd phonedmg/imarz
d-ls-computer:~/phonedmg/imarz dl$ ./iPhoneMacSSHInstall.sh
This shell script will install and enable a SSH server on your iPhone.
This script was created by Dallas Brown (http://www.kdbdallas.com)
This script was based off of Nate True's (http://cre.ations.net/blog) Windows script

Special thanks to all of the #iphone dev team.

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

iPhoneInterface v0.3.4 built on Jul 25 2007

Waiting for phone... established.
iPhone state: Activated
type "help" for help
iPhone:/# /usr/sbin/: No such file or directory
iPhone:/# fileref: 1
iPhone:/# /System/Library/LaunchDaemons/: No such file or directory
iPhone:/# fileref: 1
iPhone:/#


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

iPhoneInterface v0.3.4 built on Jul 25 2007

Waiting for phone... established.
iPhone state: Activated
type "help" for help
iPhone:/# /usr/sbin/: No such file or directory
iPhone:/# iPhone:/# /System/Library/LaunchDaemons/: No such file or directory
iPhone:/# iPhone:/# /bin/: No such file or directory
iPhone:/# iPhone:/# iPhone:/# iPhone:/# iPhone:/# iPhone:/etc/# iPhone:/etc/# iPhone:/etc/init.d/# iPhone:/etc/init.d/# /usr/bin/: No such file or directory
iPhone:/etc/init.d/# iPhone:/etc/init.d/# iPhone:/etc/init.d/# /usr/lib/: No such file or directory
iPhone:/etc/init.d/# iPhone:/etc/init.d/# iPhone:/etc/init.d/# iPhone:/etc/dropbear/# iPhone:/etc/dropbear/# iPhone:/etc/dropbear/#
--------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 Enter to continue...

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


mv: rename com.apple.update.plist.hackinit to com.apple.update.plist: No such file or directory

iPhoneInterface v0.3.4 built on Jul 25 2007

Waiting for phone... established.
iPhone state: Activated
type "help" for help
iPhone:/# /usr/sbin/: No such file or directory
iPhone:/# Problem with AFCFileRefWrite: 11
iPhone:/# /System/Library/LaunchDaemons/: No such file or directory
iPhone:/# Problem with AFCFileRefOpen: 11
iPhone:/# Problem with AFCFileRefOpen: 11
iPhone:/#
--------PHASE 5: Restarting your iPhone, again---------

Restart your phone once more. After that, you're done!

Press Enter to continue...

--------PHASE 6: Clean up----------

rm: com.apple.update.plist: No such file or directory

iPhoneInterface v0.3.4 built on Jul 25 2007

Waiting for phone... established.
iPhone state: Activated
type "help" for help
iPhone:/# /System/Library/LaunchDaemons/: No such file or directory
iPhone:/# iPhone:/#

---------DONE!--------

Test connecting to your iPhone using ssh to see if this worked
ex: ssh -l root [IP Address]

Remember the root password is: dottie

Press Enter to Jail your iPhone or Ctrl-C to keep it free from jail^C
d-ls-computer:~/phonedmg/imarz dl$ ssh -l root 10.0.1.197
ssh: connect to host 10.0.1.197 port 22: Connection refused
d-ls-computer:~/phonedmg/imarz dl$


Help
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #2  
Old 08-15-2007, 07:45 PM
Cody Overcash's Avatar
Owner / Founder - ModMyi
aka cash7c3
 
Join Date: May 2007
Device + Firmware: iPhone 3g 3.0 beta 4
Operating System: OS X | XP | Sabayon
Location: Denver, CO
Posts: 3,602
Thanks: 286
Thanked 14,882 Times in 507 Posts
Send a message via AIM to Cody Overcash Send a message via MSN to Cody Overcash Send a message via Yahoo to Cody Overcash

do you have everything from the install kit in imarz?

have you broken out of jail before doing this?
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #3  
Old 08-16-2007, 07:25 PM
iPhoneWriter's Avatar
iPhone? More like MyPhone
 
Join Date: Aug 2007
Posts: 149
Thanks: 1
Thanked 25 Times in 19 Posts

I stepped through the SSH wiki without any errors... everything working great. I can't ssh into the iPhone though. Just hangs and eventually timesout. I made sure that the firewall is off.... any thoughts?

So I went back through, from ground zero to installing SSH. Everything working perfectly until I hit the getfile "/usr/sbin/update /phonedmg/sshkit/update" -- guess what, there isn't an "update" file in the sshkit.zip package... there is an update.sh, much like there is a dropbear.sh, but there IS NOT an 'update' file much like there is a 'dropbear' file.

I re-downloaded the sshkit.zip file, no luck. What's up??

Okay, so I went ahead and did a system restore, to REALLY set myself back to ground zero and went through each step to install i-Activator, JailBreak the phone and install iPHUC. All without issue, sure enough the 'update' file was there, so follow the WIKI for SSH also went on without error/issue... right up until I try to connect.

This is what I see:

MacBook:~ webguy$ ssh -vvl root 192.168.2.25
OpenSSH_4.5p1, OpenSSL 0.9.7l 28 Sep 2006
debug1: Reading configuration data /etc/ssh_config
debug2: ssh_connect: needpriv 0
debug1: Connecting to 192.168.2.25 [192.168.2.25] port 22.

And then it eventually just times out.

Last edited by iPhoneWriter; 08-16-2007 at 10:28 PM.. Reason: Automerged Doublepost
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #4  
Old 08-17-2007, 09:42 PM
iPhoneWriter's Avatar
iPhone? More like MyPhone
 
Join Date: Aug 2007
Posts: 149
Thanks: 1
Thanked 25 Times in 19 Posts

Okay, so I finally figured out what was going on. To review, although I was able to do the SSH install without error, I couldn't connect... the connection attempt would just time out. So, I re-read the WIKI's, consulted the forums, did some Googling and tried again. Same result.

So, not being one to give up and taking it somewhat personally at this point, I looked for (and tried) alternate method's. Different combinations of Restoring my Apple iPhone, along with ./jailbreak vs. iFunastic vs. iActivator, and all variations of step-by-step and "easy" installs. Long story short, each method that worked without error (successfully) end with the same result of being unable to connect... the connection attempt would just time out.

I pressed on, and I am glad I did. As luck would have it, on yet another iTunes->Restore for my Apple iPhone, I decided to try *not* synching the iPhone after the restoration, basically keeping it as close to the "out of the box" product as possible. The iPhone was activated, but I didn't let it synch and that made all the difference. Something about eh synching of the data *before* installing SSH was the culprit behind being unable to connect.

The end result? Well, after that last iTunes->Restore, the SSH installation process went without a hitch and I was able to successfully SSH into the iPhone. Given I was already able to ./jailbreak and iPHUC, being able to SSH opened up the flood gates and my Apple iPhone is now fully tweaked.

Some notes I discovered along the way, in hopes that all of this information will help someone else.
The ModMyI iPhone Skinner rocks. Use the file it produces with (a .IPB file) along with Install IPB to easily and fully customize the look of the Apple iPhone.
The Install IPB application works best with the iPhone *after* the iPhone has been "freed" using iFuntastic. It doesn't seem to work right using ./jailbreak or iActivator.
Whatever iPhone Skinner doesn't change, iFuntastic can (like the mail alert sound or battery cons, etc.)
iFuntastic cannot be used to install new applications.
There are several "quick and easy" install programs for SSH. They all seem to work best with iActivator vs. iFuntastic. Ultimately, I prefer the package put together by BlueDonkey, which does not require using iActivator or iFuntastic or anything first. Using it *immediately* after the "clean' iTunes-Restore was the ideal combination for me (iFuntastic, iActivator and iPHUC were all installed, I just didn't use any of them. BlueDonkey's package has it all covered.)
The ModMyI WIKI's are awesome, but you have got to follow them precisely. Take your time and focus Danielson.
Once SSH is installed and you are able to successfully SSH into your iPhone, everything else is a cakewalk.
Installing new applications works best with iActivator, iPHUC and SSH *but* using SCP to copy the application to the iPhone instead of iPHUC (it takes fewer steps.)

A huge thanks to everyone who offered assistance along the way. Every little bit helped and ultimately got me to the goodness I am enjoying now. I hope this collection of tidbits steers someone else in the right direction along the way. It feels good when the kid gloves come off!
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
Reply

  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > Computer Modding Software > OS X Specific Modding Discussion

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Go to Top
ModMyI

All times are GMT -6. The time now is 02:26 PM. Powered by vBulletin® Version 3.8.4
If you need Dedicated Server Hosting, you should check out SingleHop. | Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0 Copyright © 2007-09 by ModMy, LLC. All rights reserved.

iPhone News / iPhone Forums / Apple News / Apple Forums / RSS / Contact Us / / Privacy Statement / Top