Re: BLOCK SSH FOR CERTAIN USERS



"vreyesii" <drbk563@xxxxxxxxx> writes:
How can I block a certain user from be able to SSH to a system?

One way is to set a group id (maybe canssh ) on everyone you want to be able to
ssh using a group id in /etc/group.

Then in /etc/ssh/sshd_config add a line:

AllowGroups root canssh

Later

Mark Hittinger
bugs@xxxxxx
.