+ Reply
Results 1 to 6 of 6
  1. #1
    What's Jailbreak?
    Join Date
    Jul 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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; 08-11-2007 at 08:51 PM. Reason: Automerged Doublepost

  2. #2
    Owner / Founder - ModMyi
    aka cash7c3
    Cody Overcash's Avatar
    Join Date
    May 2007
    Location
    Denver, CO
    Posts
    11,861
    Thanks
    340
    Thanked 15,247 Times in 648 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
    What's Jailbreak?
    Join Date
    Aug 2007
    Posts
    17
    Thanks
    0
    Thanked 1 Time in 1 Post
    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
    What's Jailbreak? kdub3000's Avatar
    Join Date
    Aug 2007
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Try this site for instructions to get SSH working:

    http://www.winandmac.com/mobile/ipho...pps-in-iphone/

    The best sshkit I have used. Go from a restored iphone to SSH/Mobile Terminal/NES in 10 minutes.

    Then, download & unzip the new app Installer.app to your desktop:
    http://iphone.nullriver.com/beta.html


    Now run the following line from terminal: (your IP for the xxx's)

    scp -rp Desktop/Installer.app [email protected]:/Applications

    Now, restart your phone and have fun!

  6. #6
    Green Apple
    Join Date
    Jun 2007
    Location
    a place
    Posts
    34
    Thanks
    1
    Thanked 5 Times in 4 Posts

    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 (08-13-2007)

Posting Permissions

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