iPhone - How to Set SSH Password

Environment
  • iPhone +  Jailbreak
  • MobileTerminal

Introduction
Wanna change root's password & mobile's password to let SSH be more secure. They are alpine and dottie in default, and those knows in public


Solutions
Go to terminal to change root's password
  • su
  • passwd

Then, change mobile's password by root account
  • passwd mobile