Change SSH password

Discussion in 'Jailbreaks and iOS Hacks' started by cclloyd, Jan 21, 2012.

  1. cclloyd macrumors 68000

    cclloyd

    Joined:
    Oct 26, 2011
    Location:
    Alpha Centauri A
    #1
    I can't figure out how to change the OpenSSH password from Windows, and the help with root password on Cydia was no help.
     
  2. kalex macrumors 65816

    Joined:
    Oct 1, 2007
    #2
    install openssh from cydia.

    download putty from windows computer. Run putty

    get ip of your iphone.

    launch putty and type:

    ssh root@ipofiphone press enter
    alpine - press enter
    at the prompt type: passwd
    type new password and confirm it

    all done. u can now remove openssh or uninstall it

    just don't forget new password
     
  3. cclloyd thread starter macrumors 68000

    cclloyd

    Joined:
    Oct 26, 2011
    Location:
    Alpha Centauri A
    #3
    But when I open putty, it has a window with a bunch of options. I don't know how to open the terminal in it to run the commands.
     
  4. heyyitzmelissa macrumors 6502

    Joined:
    Jan 17, 2012
    #4
    There's a guide on how to do this on Cydia's HOMEPAGE, I believe.
     
  5. cclloyd thread starter macrumors 68000

    cclloyd

    Joined:
    Oct 26, 2011
    Location:
    Alpha Centauri A
    #5
    And if you read the first post you would see that I read that and it didn't help me...
     
  6. scirica macrumors 68020

    scirica

    Joined:
    May 13, 2008
    Location:
    Dallas, TX
    #6
    Sounds like you just need to become more familiar with the SSH clients out there be it Putty or WinSCP, or whatever. I actually us an SSH client right on my phone called iSSH. It's a paid App Store app but it makes life very easy. You'll figure it out, it's pretty simple once you've done it once.
     
  7. tctony macrumors 6502a

    tctony

    Joined:
    Jun 15, 2009
    #7
    From command line

    ssh root@YOURIPADDRESSHERE

    Enter password: alpine

    Type "passwd"

    Enter your new password for root.

    Type "passwd mobile"

    Enter new password for mobile.

    You're done.
     

Share This Page