To allow only certain users to login through ssh add the following to /etc/ssh/sshd_config:
AllowUsers user1 user2 user3
where user1, user2 and user3 are the user’s login names.
To allow only certain users to login through ssh add the following to /etc/ssh/sshd_config:
AllowUsers user1 user2 user3
where user1, user2 and user3 are the user’s login names.