Linux SSH AllowUsers: Restricting Remote Access
The 'AllowUsers' directive in Linux is used to specify which users are allowed to connect to the system via SSH (Secure Shell) remote login. In this case, 'mybk' is the user that is allowed to connect remotely.
By adding the line 'AllowUsers mybk' to the SSH server configuration file (usually located at /etc/ssh/sshd_config), only the user 'mybk' will be able to connect remotely to the Linux system using SSH.
Other users attempting to connect will be denied access. It is important to ensure that the specified user exists on the system and has the necessary permissions to log in remotely.
原文地址: http://www.cveoy.top/t/topic/KdU 著作权归作者所有。请勿转载和采集!