These are instructions on how to change the root SSH password on your jailbroken iPhone or iPod touch. This password is required when using SSH to connect to your device.

launch MobileTerminal from your iPhone Springboard

Input su into the terminal window then press the return key



You will be asked to input the current root user password. Input alpine then press the return key



Once you have logged in as the root user input passwd into the terminal window then press the return key



You will be prompted for new password. Input a password of your choice then press the return key.



You will be asked to retype the new password. Do this, then press the return key to finalize your change





via

here is video

[youtube]http://www.youtube.com/watch?v=tTVkUq3myP8&NR=1[/youtube]