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 > 3rd Party Apps For iPhone | iPod Touch > Native iPhone / iPod Touch App Discussion
Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 07-27-2008, 12:06 AM
Green Apple
 
Join Date: Jul 2008
Device + Firmware: iPhone 3G 2.0
Operating System: Windows Vista
Posts: 33
Thanks: 7
Thanked 7 Times in 4 Posts
Change Password of OpenSSH from 'alpine' in iPhone3G 2.0

Hi all,

Does anyone know how to change the openSSH password from the default 'alpine' on a iPhone3G running jailbroken 2.0 firmware with OpenSSH installed via cydia???

Old forum threads say type the 'passwd' command into the terminal...but when I do that in the terminal of WinSCP, nothing happens and either WinSCP hangs or the SSH connection disconnects.

I'm using:
1. iPhone3G 8Gb running Jailbroken 2.0 firmware with OpenSSH installed via cydia
2. WinSCP on Windows Vista
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #2  
Old 07-27-2008, 03:37 AM
iPhone? More like MyPhone
 
Join Date: Feb 2008
Device + Firmware: 2G iPhone 2.1, 3G 2.1
Operating System: OS X 10.5.5 Intel with too many cores
Location: Not too far from Mr. Miyagi's place
Posts: 126
Thanks: 36
Thanked 21 Times in 17 Posts

Try:

passwd root
type in password, press return
type it in again, press return

passwd mobile
type in password, press return
type it in again, press return

I've done this one multiple phones with 2.0 with no issue so far.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following 2 Users Say Thank You to kcrmson For This Useful Post:
Dingle777 (07-27-2008), NakedFaerie (11-24-2009)
  #3  
Old 07-27-2008, 03:52 AM
iPhone? More like MyPhone
 
Join Date: Aug 2007
Device + Firmware: iPhone | 2.0 | Jailbroken
Operating System: x64 2003 ~ XP
Location: Bay Area, CA
Posts: 213
Thanks: 19
Thanked 30 Times in 25 Posts

This most likely will not work with WinSCP.

- Install Terminal via Cydia
- Run Terminal and since this logs you in as mobile user by default you need to type at the prompt:
su root
password: (type alpine)

Now you should be logged in as root. Then just type:
passwd

It should now prompt you to type in a new password.

Good luck!!
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following 6 Users Say Thank You to y0haan For This Useful Post:
Dingle777 (07-27-2008), LSZ33 (07-03-2009), ltjbigshot (05-08-2009), pierrechampoux (10-18-2008), stereo313 (07-28-2008), vesko70 (08-24-2008)
  #4  
Old 07-27-2008, 03:53 AM
Green Apple
 
Join Date: Jul 2008
Device + Firmware: iPhone 3G 2.0
Operating System: Windows Vista
Posts: 33
Thanks: 7
Thanked 7 Times in 4 Posts

Thanks, but when i type 'passwd root' or 'passwd mobile' into the terminal it just disconnects WinSCP or crashes the program entirely. Are you using WinSCP or some other program?
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #5  
Old 07-27-2008, 04:07 AM
iPhone? More like MyPhone
 
Join Date: Aug 2007
Device + Firmware: iPhone | 2.0 | Jailbroken
Operating System: x64 2003 ~ XP
Location: Bay Area, CA
Posts: 213
Thanks: 19
Thanked 30 Times in 25 Posts

Some other program, read post above yours.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #6  
Old 07-27-2008, 04:07 AM
Green Apple
 
Join Date: Jul 2008
Device + Firmware: iPhone 3G 2.0
Operating System: Windows Vista
Posts: 33
Thanks: 7
Thanked 7 Times in 4 Posts

Thanks Guys! worked like a charm!

1. Installed openSSH and MobileTerminal from cydia
2. open Terminal on iphone and type 'su root' and press return
3. enter password 'alpine' and press return
3. type 'passwd' and press return
4. type in new password and press return
5. type in new password again and press return
6. Use WinSCP to connect to iPhone with new password (instructions for using WinSCP can be found in other threads/by a google search)

Cheers!

Last edited by Dingle777; 07-27-2008 at 04:21 AM..
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following 3 Users Say Thank You to Dingle777 For This Useful Post:
helibubba (04-02-2009), NakedFaerie (11-24-2009), vesko70 (08-24-2008)
  #7  
Old 07-27-2008, 04:10 AM
iPhone? More like MyPhone
 
Join Date: Aug 2007
Device + Firmware: iPhone | 2.0 | Jailbroken
Operating System: x64 2003 ~ XP
Location: Bay Area, CA
Posts: 213
Thanks: 19
Thanked 30 Times in 25 Posts

Quote:
Originally Posted by Dingle777 View Post
Thanks Guys! worked like a charm!

1. Installed openSSH and MobileTerminal from cydia
2. open Terminal on iphone and type 'su root' , press return
3. enter password 'alpine' and press return
3. type 'passwd' and press return
4. type in new password and press return
5. type in new password again and press return
6. Use WinSCP to connect to iPhone with new password (instructions for using WinSCP can be found in other threads/by a google search)

Cheers!
Sounds about right

Cheers
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following User Says Thank You to y0haan For This Useful Post:
kiler6789 (05-30-2009)
  #8  
Old 07-27-2008, 04:20 AM
Green Apple
 
Join Date: Jul 2008
Device + Firmware: iPhone 3G 2.0
Operating System: Windows Vista
Posts: 33
Thanks: 7
Thanked 7 Times in 4 Posts

It should be easier than this to change the password cos i feel like its a big security flaw!?

Wouldn't bad 'n' nasty people on your wireless network (like at the university i go to) simply be able to connect via SSH to your iphone and manipulate the data if you didn't change the default password?
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #9  
Old 07-27-2008, 04:33 AM
iPhone? More like MyPhone
 
Join Date: Aug 2007
Device + Firmware: iPhone | 2.0 | Jailbroken
Operating System: x64 2003 ~ XP
Location: Bay Area, CA
Posts: 213
Thanks: 19
Thanked 30 Times in 25 Posts

Quote:
Originally Posted by Dingle777 View Post
It should be easier than this to change the password cos i feel like its a big security flaw!?

Wouldn't bad 'n' nasty people on your wireless network (like at the university i go to) simply be able to connect via SSH to your iphone and manipulate the data if you didn't change the default password?
- Well, Apple could not for see this jailbreak comin'
- You can also disable SSH via installing "boss prefs"
- And of course ... Public Networks are NOT real secure
- And Unix is UNIX ....

Last edited by y0haan; 07-27-2008 at 04:37 AM..
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #10  
Old 07-27-2008, 04:59 AM
Green Apple
 
Join Date: Jul 2008
Device + Firmware: iPhone 3G 2.0
Operating System: Windows Vista
Posts: 33
Thanks: 7
Thanked 7 Times in 4 Posts

thanks mate, even if it is a bit tricky to change the password, its good to know I can switch ssh off easily too
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #11  
Old 07-28-2008, 07:53 AM
What's Jailbreak?
 
Join Date: Jul 2008
Posts: 26
Thanks: 0
Thanked 5 Times in 4 Posts

i used putty to change mine, worked fine too
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following User Says Thank You to kitkat12012 For This Useful Post:
NakedFaerie (11-24-2009)
  #12  
Old 07-28-2008, 12:32 PM
mrblader's Avatar
iPhoneaholic
 
Join Date: Sep 2007
Device + Firmware: 8Gig 2G iphone, 3.0 FW Jailboke=quickpwn
Operating System: MacBook: Leopard 10.5.7
Location: Michigan
Posts: 338
Thanks: 38
Thanked 43 Times in 33 Posts

Kind of a retarded question here but, Do I have to have OpenSSH turned on while using the MobileTerminal app???

Is this required to log into the root folder??

Just curious..

thanks in advanced
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #13  
Old 07-28-2008, 02:51 PM
iPhoneaholic
 
Join Date: Jan 2008
Posts: 307
Thanks: 22
Thanked 40 Times in 31 Posts

I do not believe you need to have OpenSSH on to use MobileTerminal. You only need it when accessing it remotely from a computer, another phone, etc etc.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #14  
Old 07-28-2008, 08:25 PM
iPhone? More like MyPhone
 
Join Date: Aug 2007
Device + Firmware: iPhone | 2.0 | Jailbroken
Operating System: x64 2003 ~ XP
Location: Bay Area, CA
Posts: 213
Thanks: 19
Thanked 30 Times in 25 Posts

Quote:
Originally Posted by mrblader View Post
Kind of a retarded question here but, Do I have to have OpenSSH turned on while using the MobileTerminal app???

Is this required to log into the root folder??

Just curious..

thanks in advanced
Nope
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #15  
Old 07-28-2008, 08:50 PM
iAddict's Avatar
Green Apple
 
Join Date: Jul 2008
Device + Firmware: iPhone 3G 2.0 J.B.
Operating System: Windows Vista
Posts: 39
Thanks: 13
Thanked 20 Times in 8 Posts

I've tried passwd on terminal, I've tried the encryption method and have the password file replaced on WinSCP and other methods.

All ended up having access denied to SSH and had to do a restore.

I do not recommend anyone changing the password unless you really really know what you are doing and what the commands are.

For safety, simply turn off SSH when you are not using it, ALWAYS.
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 > 3rd Party Apps For iPhone | iPod Touch > Native iPhone / iPod Touch App 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 On
Trackbacks are On
Pingbacks are On
Refbacks are On



Go to Top
ModMyI

All times are GMT -6. The time now is 01:38 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 / / Top