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?

1 Answer 1


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.

  • 1
    In order to work you have to install openssh. Nov 12, 2020 at 20:14

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .