Change SSH password

cclloyd

macrumors 68000
Original poster
Oct 26, 2011
1,760
144
Alpha Centauri A
I can't figure out how to change the OpenSSH password from Windows, and the help with root password on Cydia was no help.
 

kalex

macrumors 65816
Oct 1, 2007
1,330
56
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
 

cclloyd

macrumors 68000
Original poster
Oct 26, 2011
1,760
144
Alpha Centauri A
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.
 

scirica

macrumors 68020
May 13, 2008
2,068
1
Dallas, TX
And if you read the first post you would see that I read that and it didn't help me...
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.
 

tctony

macrumors 6502a
Jun 15, 2009
684
0
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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.