花費 9 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