花费 7 ms
hosts.deny 和hosts.allow 配置不生效

需求:需要用hosts.deny限制用户通过ssh登录 在/etc/hosts.deny中加入 sshd: all 在/etc/hosts.allow中加入 sshd:all #拒绝所有的ip链接ssh服务 在其他服务器上尝试链接该服务器,却发现还是正常链接 ...

Wed Apr 29 01:28:00 CST 2015 0 4224

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM