Home > Archives > Centos SSH相关问题

Centos SSH相关问题

Publish:

DenyUsers root

[root@localhost ~]# vim /etc/ssh/sshd_config 
# Example of overriding settings on a per-user basis
#Match User anoncvs
#       X11Forwarding no
#       AllowTcpForwarding no
#       PermitTTY no
#       ForceCommand cvs server
DenyUsers root

声明: 本文采用 BY-NC-SA 授权。转载请注明转自: Ding Bao Guo