After i created a new user i tried to login with ssh but it failed.
chown name:users /home/name
Then when i SSH i get the following:
debug3: packet_send2: adding 64 (len 60 padlen 4 extra_pad 64)
debug2: we sent a password packet, wait for reply
debug1: Authentications that can continue: publickey,password
Permission denied, please try again.
I also added the user to allowusers on sshd_config. What did i do wrong?