I set up a linux server and created a new user. When trying to connect to the server via user@ip i get the message Permission denied. Please try again.
after entering the password.
When logging in via su - user
from my user this works without problems, so the password schould be correct.
I checked if the user is locked which is not the case.
I also checked the sshd_config: PasswordAuthentication yes
.
I also tried adding the user to AllowedUsers: AllowUsers my_user user
All of this didn't work.