I tried to test ssh on termux which prompt of the password

enter image description here

At temp my screen lock number but failed.

What's the password?


You need to use the passwd command to manually set one.

When invoked dirently, it doesn't ask you for your previous password and just sets a new one:

~ $ passwd
New password:
Retype new password:
New password was successfully set.
~ $

The you can SSH into Termux using this password.

However, I recommend using an SSH key after you're all set.

| improve this answer | |
  • passwd command does not exist in my Termux Terminal (Android 7) – user3123159 Jan 26 at 21:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.