Change iPhone 4 Root Password with Cyberduck

Discussion in 'Jailbreaks and iOS Hacks' started by Enigmafan420, Aug 4, 2010.

  1. Enigmafan420 macrumors 6502a

    Enigmafan420

    Joined:
    Apr 18, 2008
    Location:
    Puget Sound, U.S.A.
    #1
    I swear I changed my iPad root password using Cyberduck but I can't remember how to save my life.

    Can I change my iPhone 4 Root password using Cyberduck? Mobile Terminal is not yet supporting iOs 4.X


    Thanks!
     
  2. Revelation78 macrumors 68000

    Revelation78

    Joined:
    Dec 18, 2008
    Location:
    North Carolina
    #2
    Just do it via terminal on Mac or command prompt on windows.
     
  3. -aggie- macrumors P6

    -aggie-

    Joined:
    Jun 19, 2009
    Location:
    Where bunnies are welcome.
    #3
    MobileTerminal 426 (XSellize repo) supports iOS 4.x.

    However, you can just use Terminal via CyberDuck.
     
  4. Enigmafan420 thread starter macrumors 6502a

    Enigmafan420

    Joined:
    Apr 18, 2008
    Location:
    Puget Sound, U.S.A.
    #4
    Thanks to both of you. On my way to work I realized that I must have SSHed to the iPad and then just used Mac Terminal.

    Thanks again, will check into it when I get home :)
     
  5. Enigmafan420 thread starter macrumors 6502a

    Enigmafan420

    Joined:
    Apr 18, 2008
    Location:
    Puget Sound, U.S.A.
    #5
    Okay I am apparently going to still need some help here.

    Once I use Cyerbduck to SSH to the phone-how do I use Mac Terminal with the Cyberduck?

    Sorry-been a while since I have had to do this without the benefit of Mobile Terminal :)
     
  6. illutionz macrumors 65816

    Joined:
    Oct 2, 2007
    Location:
    Rhode Island
    #6
    What you wanna do is to put your phone on your Wifi network and enable OpenSSH

    Open Terminal from OSX

    Type:
    of course changing the IP address to the real IP of the phone on Wifi.

    login with password "alpine" (without quotation mark).

    Once you're in, type "passwd" without the quotation mark. Type in your new password twice and voila!
     
  7. doboy macrumors 68000

    Joined:
    Jul 6, 2007
    #7
    Also don't forget about mobile password. "login mobile" then change it from default "alpine."
     
  8. xraytech macrumors 68020

    Joined:
    Mar 24, 2010
    #8
    OpenSSH + iSSH = MobileTerminal for iP4

    OpenSSH from Cydia

    iSSH from iTunes
     
  9. illutionz macrumors 65816

    Joined:
    Oct 2, 2007
    Location:
    Rhode Island
    #9
    This is the second time I forgot! Yes do that too!!
     
  10. Enigmafan420 thread starter macrumors 6502a

    Enigmafan420

    Joined:
    Apr 18, 2008
    Location:
    Puget Sound, U.S.A.
    #10
    Thanks everyone-so iSSH from iTunes works like Mobile Terminal? I am surprised (SHOCKED?!?) Apple would allow this app-since don't you need to be JB to even access the file system?
     
  11. Enigmafan420 thread starter macrumors 6502a

    Enigmafan420

    Joined:
    Apr 18, 2008
    Location:
    Puget Sound, U.S.A.
    #11
    Okay getting this error when trying to SSH:

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
    Someone could be eavesdropping on you right now (man-in-the-middle attack)!
    It is also possible that the RSA host key has just been changed.
    The fingerprint for the RSA key sent by the remote host is
    03:42:5e:e0:b8:4e:35:5a:d9:7e:72:a5:dd:37:26:33.
    Please contact your system administrator.
    Add correct host key in /Users/enigmafan420/.ssh/known_hosts to get rid of this message.
    Offending key in /Users/enigmafan420/.ssh/known_hosts:12
    RSA host key for 192.168.1.3 has changed and you have requested strict checking.
    Host key verification failed.

    How do I resolve this?

    Thanks!
     
  12. Enigmafan420 thread starter macrumors 6502a

    Enigmafan420

    Joined:
    Apr 18, 2008
    Location:
    Puget Sound, U.S.A.
    #12
    Any help here would be appreciated! Thanks!
     
  13. 1976Hoosiers macrumors newbie

    Joined:
    Dec 2, 2010
    Location:
    Austin, TX
    #13
    SSH into it first with cyberduck and it will ask you to authorize click always and then Open Terminal

    enter command: ssh root@ipaddress

    login in with credentials

    once in type 'passwd'

    type in your new password twice

    Voila you are done!

    Repeat

    enter command: ssh mobile@ipaddress

    login in with credentials

    once in type 'passwd'

    type in your new password twice

    Voila you are done!
     
  14. huskerchad macrumors regular

    Joined:
    Jul 17, 2002
    #14
    Easiest method: delete this file. This is a bit heavy-handed as it will delete all known hosts that you have ssh'd to. You will have to OK them again the first time you connect.

    A more surgical approach is to edit that file in a text editor (one that will not add or change line feeds). Remove the iPhone's entry in the file--you should be able to recognize it by hostname or ip address. It will be a long alphanumeric string.
     

Share This Page