pacman -S openssh
systemctl enable sshd.service
Edit the file /etc/ssh/sshd_config and add the following to limit access to a list of users.
AllowUsers $USER1 $USER2
To limit the access to certain groups.
AllowGroups group1 group2
To deny the access to some users.
DenyUsers $USER1 $USER2
To deny the access to some groups.
DenyGroups group1 group2
Unless otherwise specified, the contents of this website are (C)Copyright Michael Paquier 2010-2024 and are licensed for use under CC BY-SA 3.0.