PDA

View Full Version : [ubuntu] SSH AllowGroups parameter not working


mike.broughton
June 4th, 2008, 06:12 AM
Hi,
I have created a group on my ubuntu server and added two users to the group. I have then edited the /etc/ssh/ssh_config file and added the AllowGroups groupName parameter. I have saved the file and then restarted the ssh server. However I can still ssh to the server as a user not in the specified group. Does anyone know what the problem is?
Do I need to add the parameter anywhere in particular to the file or is it fine to append it at the end?
Thanks very much

cdenley
June 4th, 2008, 08:55 AM
/etc/ssh/ssh_config is the client configuration. You want the server configuration, /etc/ssh/sshd_config.

mike.broughton
June 5th, 2008, 09:23 AM
oops :-)

That solved it.

thanks very much