I am working on a Yocto-based Linux. I have Dropbear SSH installed. If debug-tweaks is included in IMAGE-FEATURES, I can correctly login via SSH without password. Now, I want to setup a password-based login. So I removed the debug tweaks and added the following lines to my recipe:
inherit extrausers
EXTRA_USERS_PARAMS = "usermod -P mypassword root;"
Now when I try to login via SSH I get the following error:
root@IP: Permission denied (publickey,password).
What is the problem? I checked that the password is correct.