SSH common configuration

xiaoxiao2021-03-06  13

Each time you modified sshd_config, you must restart SSHD # Do not let root remote login: PermitRootLogin No can only use Group and User name, GID and uid are not allowed. # Reject all users to log in: DenyUsers *

# Reject all users test test2 login: DenyUsers Test Test2

# Reject Test Group Login: DenyGroups Test # Allows User Test Test2 Login: AllowUsers Test Test2

# Allow Group Test to log in: AllowGroups Test

转载请注明原文地址:https://www.9cbs.com/read-47219.html

New Post(0)