摘要: vim /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0TYPE=EthernetONBOOT=yesNM_CONTROLLED=yesBOOTPROTO=noneMASTER=bond0SLAVE=yes vim /etc/sysconfi 阅读全文
posted @ 2017-03-29 15:53 howhy 阅读(217) 评论(0) 推荐(0) 编辑
摘要: 通过配置hosts.allow、hosts.deny,控制SSH限制固定IP登陆 按照以往的方法,分别在hosts.allow、hosts.deny加入以下配置 # more /etc/hosts.allow sshd:192.168.x.x # more /etc/hosts.deny sshd: 阅读全文
posted @ 2017-03-29 10:33 howhy 阅读(1044) 评论(0) 推荐(0) 编辑