Quote:
Originally Posted by jayjaythemac
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
(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
(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
(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