openssh/GNU-linux: AllowGroups + DenyUsers

From: Josef (jhandt_at_gmx.at)
Date: 10/06/03


Date: 6 Oct 2003 08:18:57 -0700

Hi!

I openssh/GNU-linux, I would like
to do something like:
Only members of the ssh groups are allowed to
log in.
Additionally, user john may log in only from
ip 192.168.0.1

When I do something like:

AllowUsers john@192.168.0.1
AllowGroups ssh

then it seems that only users are allowed that are
as well john@192.168.0.1 as memeber of ssh,
not what I intended.

Is there any solution to this
(apart from adding all the group members to the allowed list?)

Thanks for your efforts,

Josef



Relevant Pages