Take the 2-minute tour ×  During set-up of a home server
(running Kubuntu 10.04), I created an admin user for performing
administrative tasks that may require an unmounted home. This
user has a home directory on the root partition of the box.  The
machine has an internet-facing SSH server, and I have restricted
the set of users that can connect via SSH, but I would like to
restrict it further by making admin only accessible from my
laptop (or perhaps only from the local range).  I currently have
only an  AllowGroups ssh-users  with myself and admin as members
of the ssh-users group.  What I want is something that works
like you may expect this setup to work (but it doesn't):  $
groups jonathan ... ssh-users $ groups admin ... ssh-restricted-
users $ cat /etc/ssh/sshd_config AllowGroups ssh-users ssh-
restricted-users@192.168.1.*  Is there a way to do this? I have
also tried this, but it did not work (admin could still log in
remotely):  AllowUsers admin@192.168.1.* * AllowGroups ssh-users
with admin a member o