Thread: ssh help
-
08-21-2007, 05:12 PM #1
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) /:
-
08-21-2007, 07:15 PM #2
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)
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
Syntax error again, you should have typed:
getfile /usr/sbin/update sshkit/update <or where ever you want to save the file>
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/updateLast edited by CyberGreg; 08-21-2007 at 07:18 PM.
-
08-21-2007, 09:26 PM #3
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
-
08-22-2007, 12:09 AM #4



LinkBack URL
About LinkBacks
Reply With Quote
