Linux adds ssh permissions to common users. after a common user is created, the common user may not be able to connect to the server through ssh. you can add AllowUsers in/etc/ssh/sshd_config: username (separated by spaces) can be used to add ssh permissions to common users. you can also set the permission...
Linux adds ssh permissions to common users. after a common user is created, the common user may not be able to connect to the server through ssh. you can add AllowUsers in/etc/ssh/sshd_config: username (separated by spaces) can be used to grant ssh permissions to common users. users/user groups that allow and deny ssh can also be set: DenyUsers: username, DenyGroups: groupname www.2cto.com. the priority is as follows: DenyUsers: username AllowUsers: username DenyGroups: groupname AllowGroups: groupname after setting ssh permissions for common users, you can disable root ssh permissions and increase security (you can also modify the PermitRootLogin option in sshd_config: permitRootLogin no)
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service