元生資訊
網頁
首頁
依日期排列
依標籤排列
所有文章列表
2018年7月6日 星期五
限制SSH 連線IP
vi /etc/hosts.allow
sshd:192.168.0.100:allow
sshd:192.168.0.*:allow //允許單一IP或網段
sshd:all:deny //擋全部
存檔後
service sshd restart
沒有留言:
張貼留言
較新的文章
較舊的文章
首頁
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言