Results 1 to 6 of 6

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.


Thread: Cant get "iPhone SSH Install for Mac" script to work..

  1. #1
    Default Cant get "iPhone SSH Install for Mac" script to work..
    Cant get "iPhone SSH Install for Mac" script to work.. Maybe someone can help me. I'm leaving for a trip tomorrow and I really want to get this to work.

    <<<Heres what I'm getting:>>>

    Last login: Sat Aug 11 20:45:02 on ttyp2
    Welcome to Darwin!
    jahbooks-computer:~ jahbook$ /Users/jahbook/Desktop/iPhone\ SSH\ Install\ for\ Mac/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---------

    /Users/jahbook/Desktop/iPhone SSH Install for Mac/iPhoneMacSSHInstall.sh: line 17: phase1.script: No such file or directory

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

    cp: chmod: No such file or directory
    cp: com.apple.update.plist.chmod: No such file or directory

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

    /Users/jahbook/Desktop/iPhone SSH Install for Mac/iPhoneMacSSHInstall.sh: line 33: phase2.script: No such file or directory

    --------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...

    <<<Im not sure whats going on wrong>>>

    I made sure the folder is on my users desktop.. so I'm confused why it cant be found..

    Please any.. help..
    Last edited by jahsavi; 2007-08-12 at 03:51 AM. Reason: Automerged Doublepost

  2. #2
    Owner / Founder - ModMyi
    aka cash7c3
    Cody Overcash's Avatar
    Join Date
    May 2007
    Location
    Denver, CO
    Posts
    11,920
    Thanks
    339
    Thanked 15,254 Times in 649 Posts

    you need to cd to the directory you're running from before you run it

  3. #3
    im having sorta the same problem ...


    Welcome to Darwin!
    brian-villaltas-imac-g5:~ Brian$ cd /Users/Brian/Desktop/iPhone\ SSH\ Install\ for\ Mac/
    brian-villaltas-imac-g5:~/Desktop/iPhone SSH Install for Mac Brian$ /Users/Brian/Desktop/iPhone\ SSH\ Install\ for\ Mac/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---------

    /Users/Brian/Desktop/iPhone SSH Install for Mac/iPhoneMacSSHInstall.sh: line 17: ./iphoneinterface: cannot execute binary file

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


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

    /Users/Brian/Desktop/iPhone SSH Install for Mac/iPhoneMacSSHInstall.sh: line 33: ./iphoneinterface: cannot execute binary file

    --------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...

  4. #4
    didn't seem to work for me neither

    michael-computer:~ michael$ cd /Users/michael/Desktop/iPhone\ SSH\ Install\ for\ Mac/
    michael-computer:~/Desktop/iPhone SSH Install for Mac michael$ ./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: MissingSIM
    type "help" for help
    iPhone:/# /System/Library/LaunchDaemons/: No such file or directory
    iPhone:/# Problem with AFCFileRefWrite: 11
    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

    iPhoneInterface v0.3.4 built on Jul 25 2007

    Waiting for phone... established.
    iPhone state: Activated
    type "help" for help
    iPhone:/# /System/Library/Lockdown/: No such file or directory
    iPhone:/# iPhone:/#
    Reboot your iPhone to finish the jailing process

    ./iPhoneMacSSHInstall.sh: line 105: unexpected EOF while looking for matching `"'
    ./iPhoneMacSSHInstall.sh: line 107: syntax error: unexpected end of file

  5. #5

  6. #6
    You people have to cd to the folders containing the script....

    put the SSH folder on your desktop and do this:
    cd Desktop/iPhone\ SSH\ Install\ for\ Mac/
    ./iPhoneMacSSHInstall.sh


  7. The Following User Says Thank You to tehmacuser For This Useful Post:

    Cody Overcash (2007-08-14)

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