PDA

View Full Version : SSH access problems for users


jerry2005
07-28-2006, 02:34 AM
When enabling ssh access for a user it is not working.

Getting the following errors (auth.log):

User xxxxxx not allowed because not listed in AllowUsers

(pam_unix) authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=xxx.xxx.xxx.xxx user=xxxxxxx

error: PAM: Authentication failure for illegal user xxxxxx from xxx.xxx.xxx.xxx


I am thinking off a pam auth problem but my knowledge about pam is like zero.

Anyone having this problem too ? or someone knows too point me in the right direction.

Wido
07-30-2006, 06:39 AM
The user that you use is not listed in the AllowUsers list in /etc/sshd/sshd_config

Normally, DA should add your user to this list.

Did you try to restart your SSH daemon?

jerry2005
07-30-2006, 03:40 PM
Yeah restarting ssh daemon was the solution , but its kinda strange that i need too manually restart the daemon after i changed some users by providing ssh access.

Also has anyone tested the chroot beta on debian ?