List of all users that can connect via SSH [closed]
Read man sshd_config for more details, but you can use the AllowUsers directive in /etc/ssh/sshd_config to limit the set of users who can login. e.g. AllowUsers boris would mean that only the boris user could login via ssh.