I just finally found the solution! Adding the new user to group ssh fixed it!
sudo gpasswd -a <newuser> ssh
YAY!
Search found 2 matches
- Tue Sep 13, 2022 8:55 pm
- Forum: Raspberry Pi Series
- Topic: Newly created User can't login via SSH
- Replies: 2
- Views: 8712
- Tue Sep 13, 2022 8:47 pm
- Forum: Raspberry Pi Series
- Topic: Newly created User can't login via SSH
- Replies: 2
- Views: 8712
Newly created User can't login via SSH
So I followed the tutorial to create a new user, so I can de-activate the default user pi. Everything worked, the user is created and added to adm and sudo groups. I can also switch to the new user in the active ssh session by typing su <username>. Then it asks for the password and everything works ...