Having trouble adding a regular user with ssh access on Hardy 8.04. I can ssh into root, but not into the newly created regular user with the same ~/.ssh/authorized_keys
Code:
sshd_config has:
AllowGroups sshlogin
AllowUsers user root
/etc/group has:
sshlogin:x:199:user,root
and ~user/.ssh and ~user/.ssh/authorized_keys are chmod 600 and chown user:user
ssh user from client results in
Permission denied (publickey).
Could someone please enlighten me what could be preventing ssh login to ~user? And yes I would like to disable root ssh access, but it would be nice to be able to ssh into user first
Bookmarks