The ModMyTM Family of Sites:
ModMyMotoModMyiModMyGphone




 
 
Register or Connect with Facebook

Discuss AppStore Apps | Browse / Search Cydia | MMi Cydia Stats




  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > Computer Modding Software > OS X Specific Modding Discussion
Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 08-21-2007, 06:12 PM
iPhone? More like MyPhone
 
Join Date: Aug 2007
Posts: 184
Thanks: 8
Thanked 10 Times in 7 Posts
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) /:
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #2  
Old 08-21-2007, 08:15 PM
CyberGreg's Avatar
Retired Moderator
 
Join Date: Jul 2007
Device + Firmware: iPhone 3G/Touch 2.0
Operating System: OS 10.6
Posts: 1,096
Thanks: 58
Thanked 206 Times in 137 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 08:18 PM..
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #3  
Old 08-21-2007, 10:26 PM
iPhone? More like MyPhone
 
Join Date: Aug 2007
Posts: 184
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
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #4  
Old 08-22-2007, 01:09 AM
CyberGreg's Avatar
Retired Moderator
 
Join Date: Jul 2007
Device + Firmware: iPhone 3G/Touch 2.0
Operating System: OS 10.6
Posts: 1,096
Thanks: 58
Thanked 206 Times in 137 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
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
Reply

  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > Computer Modding Software > OS X Specific Modding Discussion

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Go to Top
ModMyI

All times are GMT -6. The time now is 04:28 PM. Powered by vBulletin® Version 3.8.4
If you need Dedicated Server Hosting, you should check out SingleHop. | Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0 Copyright © 2007-09 by ModMy, LLC. All rights reserved.

iPhone News / iPhone Forums / Apple News / Apple Forums / RSS / Contact Us / / Privacy Statement / Top