+ Reply
Results 1 to 4 of 4

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


Thread: ssh help

is a discussion within the

OS X Specific Modding Discussion

forums, a part of the

Computer Modding Software

section;
i would realyy be thrilled if someone could help me install ssh on my phone. i get the following error (iPHUC) /: getfile /usr/sbin/update /phonedmg/sshkit/update remote: /usr/sbin/update local: /phonedmg/sshkit/update AFCFileRefOpen:
...
  1. #1
    iPhone? More like MyPhone
    Join Date
    Aug 2007
    Posts
    188
    Thanks
    8
    Thanked 10 Times in 7 Posts

    Default ssh help
    i would realyy be thrilled if someone could help me install ssh on my phone. i get the following error

    (iPHUC) /: getfile /usr/sbin/update /phonedmg/sshkit/update
    remote: /usr/sbin/update
    local: /phonedmg/sshkit/update
    AFCFileRefOpen: opening remote path '/usr/sbin/update'
    AFCFileRefRead: reading 8924 bytes into buffer
    getfile: Failed to open local file '/phonedmg/sshkit/update'
    (iPHUC) /: getfile /Users/jasonbeckman/phonedmg/sshkit/update.sh
    remote: /Users/jasonbeckman/phonedmg/sshkit/update.sh
    local: /Users/jasonbeckman/phonedmg/sshkit/update.sh
    AFCFileRefOpen: opening remote path '/Users/jasonbeckman/phonedmg/sshkit/update.sh'
    getfile: Failed to open remote file: 8
    (iPHUC) /: getfile /usr/sbin/update
    remote: /usr/sbin/update
    local: /usr/sbin/update
    AFCFileRefOpen: opening remote path '/usr/sbin/update'
    AFCFileRefRead: reading 8924 bytes into buffer
    getfile: Failed to open local file '/usr/sbin/update'
    (iPHUC) /: getfile /Users/jasonbeckman/phonedmg/sshkit/update
    remote: /Users/jasonbeckman/phonedmg/sshkit/update
    local: /Users/jasonbeckman/phonedmg/sshkit/update
    AFCFileRefOpen: opening remote path '/Users/jasonbeckman/phonedmg/sshkit/update'
    getfile: Failed to open remote file: 8
    (iPHUC) /: getfile /usr/sbin/update /phonedmg/sshkit/update
    remote: /usr/sbin/update
    local: /phonedmg/sshkit/update
    AFCFileRefOpen: opening remote path '/usr/sbin/update'
    AFCFileRefRead: reading 8924 bytes into buffer
    getfile: Failed to open local file '/phonedmg/sshkit/update'
    (iPHUC) /:

  2. #2
    Retired Moderator CyberGreg's Avatar
    Join Date
    Jul 2007
    Posts
    1,096
    Thanks
    58
    Thanked 207 Times in 138 Posts

    Quote Originally Posted by jayjaythemac View Post
    i would realyy be thrilled if someone could help me install ssh on my phone. i get the following error

    (iPHUC) /: getfile /usr/sbin/update /phonedmg/sshkit/update
    remote: /usr/sbin/update
    local: /phonedmg/sshkit/update
    AFCFileRefOpen: opening remote path '/usr/sbin/update'
    AFCFileRefRead: reading 8924 bytes into buffer
    getfile: Failed to open local file '/phonedmg/sshkit/update'
    One error at a time. This line should have been entered as:
    getfile /usr/bin/update sshkit/update
    (assuming your iPHUC is already running out of your phonedmg folder)
    Quote Originally Posted by jayjaythemac View Post
    (iPHUC) /: getfile /Users/jasonbeckman/phonedmg/sshkit/update.sh
    remote: /Users/jasonbeckman/phonedmg/sshkit/update.sh
    local: /Users/jasonbeckman/phonedmg/sshkit/update.sh
    AFCFileRefOpen: opening remote path '/Users/jasonbeckman/phonedmg/sshkit/update.sh'
    getfile: Failed to open remote file: 8
    This command is incomplete, you did not list the file you are 'getting' from your iPhone. You did however list the "to" location correctly because you can get to your folder from the root of your drive following your path.

    getfile <missing iPhone path and file> /Users/jasonbeckman/phonedmg/sshkit/update.sh
    Quote Originally Posted by jayjaythemac View Post
    (iPHUC) /: getfile /usr/sbin/update
    remote: /usr/sbin/update
    local: /usr/sbin/update
    AFCFileRefOpen: opening remote path '/usr/sbin/update'
    AFCFileRefRead: reading 8924 bytes into buffer
    getfile: Failed to open local file '/usr/sbin/update'
    Syntax error again, you should have typed:
    getfile /usr/sbin/update sshkit/update <or where ever you want to save the file>
    Quote Originally Posted by jayjaythemac View Post
    (iPHUC) /: getfile /Users/jasonbeckman/phonedmg/sshkit/update
    remote: /Users/jasonbeckman/phonedmg/sshkit/update
    local: /Users/jasonbeckman/phonedmg/sshkit/update
    AFCFileRefOpen: opening remote path '/Users/jasonbeckman/phonedmg/sshkit/update'
    getfile: Failed to open remote file: 8
    There is NO "/Users/jasonbeckman..." folder on your iPhone. Correct command. See previous comments for correct syntax examples:
    getfile <path/filename-on-iPhone> <space> <foldername/><filename-on-computer>

    Keep at and you WILL get it!


    Edit: so taken literally the command should read;
    get the file update from my iPhone in the /usr/bin folder and save it as update on my computer in the sshkit subfolder
    getfile /usr/bin/update sshkit/update
    Last edited by CyberGreg; 08-21-2007 at 07:18 PM.

  3. #3
    iPhone? More like MyPhone
    Join Date
    Aug 2007
    Posts
    188
    Thanks
    8
    Thanked 10 Times in 7 Posts

    greg thanks ok so when i try to do what u sugested i get an error again i wonder if i am missing something in one of my folders can u help here is the eror

    (iPHUC) /: getfile /usr/bin/update sshkit/update
    remote: /usr/bin/update
    local: sshkit/update
    AFCFileRefOpen: opening remote path '/usr/bin/update'
    getfile: Failed to open remote file: 8

  4. #4
    Retired Moderator CyberGreg's Avatar
    Join Date
    Jul 2007
    Posts
    1,096
    Thanks
    58
    Thanked 207 Times in 138 Posts

    Quote Originally Posted by jayjaythemac View Post
    greg thanks ok so when i try to do what u sugested i get an error again i wonder if i am missing something in one of my folders can u help here is the eror

    (iPHUC) /: getfile /usr/bin/update sshkit/update
    remote: /usr/bin/update
    local: sshkit/update
    AFCFileRefOpen: opening remote path '/usr/bin/update'
    getfile: Failed to open remote file: 8
    Okay that error means it can't 'get to' /usr/bin/update and if I'm remembering the install scripts for SSH, the 'update' program is located:
    /usr/sbin/update

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