On Monday 26 March 2007 11:33 am, Jerome Santos wrote: > I have a few seperate users on my server, one user for which I want to > dissallow ssh login. Now I've read the man page for sshd and I've read a > lot of the documentation on this, but I'm still not clear one one point. By > default, /etc/ssh/sshd.config shows all entries are commented out. I want > to add something like this: > > AllowUsers user1, user2, user3 > > I added that in but also with an # in front like all the other entries. Now > I find that I can still ssh to the box with a user acct that I didn't > include in the entry. Should it be in there without the #? And if so, do I > also then have to uncomment all the other entries??
man sshd_config In the first paragraph you will find the line "Lines starting with `#' and empty lines are interpreted as comments." The default config file is full of examples that are commented out which are the lines you see. -- Tim Kuhlman Network Administrator ColoradoVnet.com