How to Reset your SSH password on an iPhone or iPod Touch
This video tutorial from DrJailbreak shows how to reset your SSH password on iPhone or iPod.If you changed your password through Rock with your Mobile Terminal and forgot it, this is what you are going to do to set your root and mobile password back to alpine.First you will need iFile application. Open Cydia and browse to http://repo.beyouriPhone.com. Navigate to Be Your iPhone Repo and scroll down to iFile. Download and install.Open iFile and navigate to /Private/etc.Scroll down and open master.passwrd. Click edit and scroll up to root: line.Type this line /smx7MYTQIi2M.Click Save and close iFile application.Voila! Now your root password is reset back to alpine.