Open SSH Password

Discussion in 'Jailbreaks and iOS Hacks' started by Enigmafan420, Sep 21, 2008.

  1. Enigmafan420 macrumors 6502a

    Enigmafan420

    Joined:
    Apr 18, 2008
    Location:
    Puget Sound, U.S.A.
    #1
    Okay, I changed by password using terminal and the passwd command.

    But when I use Cyberduck the new password does not work-still wants the Alpine.

    What am I doing wrong?:confused:
     
  2. jcde7ago macrumors 6502

    jcde7ago

    Joined:
    Aug 4, 2008
    Location:
    San Francisco, CA
    #2
    Are you using Mobile Terminal on the iPhone itself? If not, download it through Cydia.

    1. Launch Terminal, type in: 'su root', it'll prompt you for your current password next, so type in 'alpine'. (Don't use quotations obviously).

    Doing the above logs you in as 'root', because by default if you launch terminal and just use the 'passwd' command, it doesn't actually change it per se as you are logged in as 'mobile', which doesn't have sufficient permissions to change the password.

    2. Type in 'passwd', and it should prompt you to enter a new password and then ask you to verify it again. Hope this helps!
     
  3. Enigmafan420 thread starter macrumors 6502a

    Enigmafan420

    Joined:
    Apr 18, 2008
    Location:
    Puget Sound, U.S.A.
    #3
    That did the job-thanks-I was not logged in as root...
     

Share This Page