If you’ve installed OpenSSH on your iPhone, I recommend you to change the root password immediately to secure your iPhone from Ikee worm attacks. On my previous post, there is a link to one of the Simon Blog post that show how you can change the root password using Mobile Terminal. And this post, I will show you another method of changing the root password using putty.
1. Connect your iPhone to your home Wi-Fi and jot down the IP address assigned by the router.
Make sure Auto-Lock is set to “Never” to avoid the connection lost.
2. Connect your laptop to your home Wi-Fi also if it’s not already.
3. Download and launch “putty.exe” on your laptop.
4. Type the IP address into Host Name (or IP address) text field and click “Open”.
5. Type “root” for login as then hit “Enter” and type “alpine” for the password (default password) then hit “Enter”.
6. Type “passwd” then hit “Enter” and type your new password 2 times.
7. Type “exit” to close the connection and quit putty session.
After you’ve successfully changed the password, whenever you wish to SSH into your iPhone using WinSCP, make sure you enter the new password.