CNLCE
(Cat Note Linux C etc)
2011年5月14日 星期六
[Linux]ssh allow and deny
#sudo vim /etc/hosts.allow
#sudo vim /etc/hosts.deny
>>#hosts.allow
>>sshd : 192.168.1.2 #allow 192.168.1.2
>>#hosts.deny
>>sshd : all #deny all but hosts.allow
沒有留言:
張貼留言
較新的文章
較舊的文章
首頁
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言