Reply
   
 iPhone SSH Password issue 
 
 
  #1 (permalink)  
Old 06-12-2007, 04:33 AM
Regular

Group: Regulars
Location: Newcastle, NSW


iPhone SSH Password issue

Having used the 1.1.2 jailbreak method (the java jailbreak file) and subsequently changing my password with that app *on the phone*... I now find that not only does my new password not work, but neither of the old options work either. ie, no SSH access to my phone.

Are there any steps I could follow to fix this situation? commands via VT100 for example?
__________________
Hamarana:Redbubble
Apple Stuff: 20" iMac 2.4ghz, eMac G4, iPhone2G.
kyte is offline
Profile CardPM
Go to the top of the page
Reply With Quote
  #2 (permalink)  
Old 06-12-2007, 05:42 AM
Regular

Group: Regulars
Location: Nedlands, WA


Quote:
Originally Posted by kyte View Post
Having used the 1.1.2 jailbreak method (the java jailbreak file) and subsequently changing my password with that app *on the phone*... I now find that not only does my new password not work, but neither of the old options work either. ie, no SSH access to my phone.

Are there any steps I could follow to fix this situation? commands via VT100 for example?
I'm not quite sure where to start (remote, blind debugging) but if you have the VT100 terminal app on your iPhone, then you can (re)set your phone's root password to anything you choose:

Code:
# passwd
Changing password for root.
New password:  freddo
Retype new password:  freddo
Do you know if there's still an ssh daemon running on the phone (i.e. it wasn't blown away by the jailbreaking? You can try this, again on the phone's VT100, with:

Code:
ssh localhost
If the command ellicits a response (typically asking for you to authenticate the phone's RSA key for the first time (just respond 'no'), then the ssh daemon is there and responding.

If you're successfully up to here, can you now ssh in to your phone, using its wireless IP, from your Mac?
__________________
24" 2.4GHz iMac, 2GHz MBP, (1.66GHz, 250GB mini + Dell 2405FPW + Belkin F1PI241EGau), 16GB 1stG 'Touch
chrism238 is offline
Profile CardPM
Go to the top of the page
Reply With Quote
  #3 (permalink)  
Old 06-12-2007, 06:34 AM
Regular

Group: Regulars
Location: Newcastle, NSW


URGH!!!!!

I just had a thought about the IP address. Damn thing has changed since last I went in... god knows why its now 192.168.1.5 instead of .1 or .2 but it is.

All sorted, obviously.

Thanks for those commands though, very helpful. One never knows.
__________________
Hamarana:Redbubble
Apple Stuff: 20" iMac 2.4ghz, eMac G4, iPhone2G.

Last edited by kyte; 06-12-2007 at 06:49 AM.
kyte is offline
Profile CardPM
Go to the top of the page
Reply With Quote
  #4 (permalink)  
Old 06-12-2007, 06:57 AM
Regular

Group: Regulars
Location: Nedlands, WA


Quote:
Originally Posted by kyte View Post
URGH!!!!!

I just had a thought about the IP address. Damn thing has changed since last I went in... god knows why its now 192.168.1.5 instead of .1 or .2 but it is.
The IP addr can be random, depending on how your wireless router (probably running Linux) dishes them out using DHCP and on how many other devices are currently/recently using that DHCP server. I'm lucky, mine's always 10.1.1.7 because DHCP attempts to allocate the same IP addr when it sees a known MAC addr.
__________________
24" 2.4GHz iMac, 2GHz MBP, (1.66GHz, 250GB mini + Dell 2405FPW + Belkin F1PI241EGau), 16GB 1stG 'Touch
chrism238 is offline
Profile CardPM
Go to the top of the page
Reply With Quote
  #5 (permalink)  
Old 06-12-2007, 10:11 AM
Regular

Group: Regulars
Location: Newcastle, NSW


Quote:
Originally Posted by chrism238 View Post
The IP addr can be random, depending on how your wireless router (probably running Linux) dishes them out using DHCP and on how many other devices are currently/recently using that DHCP server. I'm lucky, mine's always 10.1.1.7 because DHCP attempts to allocate the same IP addr when it sees a known MAC addr.
Yeah its more random than I would have thought. I only have 4 machines using the wifi (billion 7404VGP), two of which are almost always not on. anyway its all sorted now.
__________________
Hamarana:Redbubble
Apple Stuff: 20" iMac 2.4ghz, eMac G4, iPhone2G.
kyte is offline
Profile CardPM
Go to the top of the page
Reply With Quote
 
Reply

Thread Tools

 
Similar Threads
 
Thread Thread Starter Forum Replies Last Post
iPhone/Itunes pairing issue mrcooms iPhone Help and Support 12 12-03-2008 08:01 AM
Screenshot 1.1 for iPhone issue W9cae iPhone & Mobile Phones 7 26-11-2007 12:18 PM
iPhone 1.1.1 - Voicemail notification issue tentatively fixed Linux_insidev2 iPhone & Mobile Phones 53 13-11-2007 09:47 AM
Need some help setting up SSH on iPhone nbetts iPhone & Mobile Phones 16 20-08-2007 02:32 PM
G5 PowerMac DVD Drive issue + a network issue! DrNick Help and New Mac User Support 2 25-09-2006 10:38 AM