Re: sshd_config match keyword syntax

2012-09-03 Thread Roger Lynn
On 30/08/12 16:20, Brian wrote: > On Thu 30 Aug 2012 at 14:37:34 +0100, Roger Lynn wrote: >> I want to force everyone except members of a particular group to run sftp >> when they ssh into a server. So at the end of /etc/ssh/sshd_config I have: >> >> Match Group !sshers >> ForceCommand /usr/lib/

Re: sshd_config match keyword syntax

2012-08-30 Thread Camaleón
On Thu, 30 Aug 2012 14:37:34 +0100, Roger Lynn wrote: > I want to force everyone except members of a particular group to run > sftp when they ssh into a server. So at the end of /etc/ssh/sshd_config > I have: > > Match Group !sshers > ForceCommand /usr/lib/openssh/sftp-server > > However I can

Re: sshd_config match keyword syntax

2012-08-30 Thread Brian
On Thu 30 Aug 2012 at 14:37:34 +0100, Roger Lynn wrote: > I want to force everyone except members of a particular group to run sftp > when they ssh into a server. So at the end of /etc/ssh/sshd_config I have: > > Match Group !sshers > ForceCommand /usr/lib/openssh/sftp-server > > However I can

sshd_config match keyword syntax

2012-08-30 Thread Roger Lynn
Hi, I want to force everyone except members of a particular group to run sftp when they ssh into a server. So at the end of /etc/ssh/sshd_config I have: Match Group !sshers ForceCommand /usr/lib/openssh/sftp-server However I can't get the group negation to work. If I remove the '!' it works as