5

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?

Alice
  • 153
  • 1
  • 4

1 Answers1

7

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.

iBug
  • 7,747
  • 8
  • 44
  • 83