Tuesday, August 10, 2010

Changing Your iPhone’s Default SSH Password

If you jailbreak your iPhone, the first thing you ABSOLUTELY MUST DO is change the default filesystem password.When you jailbreak, the filesystem’s password is set to the common password “alpine.” As people usually don’t bother changing this password after performing a jailbreak, it’s really easy for hackers to get access to any jailbroken iPhone/iPod Touch on a public network.

Changing the password is quick and easy. At your devices, you need to install "MobileTerminal".
Go to your cydia and search for it. Then install. Then follow this steps:-

Here’s how to change the default SSH password after jailbreaking:
1. Navigate to the newly installed ‘MobileTerminal’ application and tap to open.

2. In MobileTerminal, type ‘su root’ and tap return. It will ask you for a password, enter ‘alpine’ and tap return again.

3. Now, type ‘passwd’ and then tap return. Type in a new password such as ‘secret’ and tap return. Retype the new password to confirm and then tap return one last time to change the password.

4. Now, your SSH password will be changed and your device will be protected against any future hacks that use SSH to access your device.

note:- if you're not using mobileterminal, just ssh your device from your computer and ssh to it :-

root@rude-desktop:/home/dr_rude# ssh 10.23.140.243 -l root
root@10.23.140.243's password:
dzuls-iPhone:~ root# ls
Library/ Media/
dzuls-iPhone:~ root# passwd
Changing password for root.
New password:
Retype new password:
dzuls-iPhone:~ root# ls
Library/ Media/
dzuls-iPhone:~ root#

:) pretty dead easy fellas!

1 comments:

Anonymous said...

That's why I love Linux, so much power and control!

/fashionably late comment...

Post a Comment