摘要:
vim /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0TYPE=EthernetONBOOT=yesNM_CONTROLLED=yesBOOTPROTO=noneMASTER=bond0SLAVE=yes vim /etc/sysconfi 阅读全文
摘要:
通过配置hosts.allow、hosts.deny,控制SSH限制固定IP登陆 按照以往的方法,分别在hosts.allow、hosts.deny加入以下配置 # more /etc/hosts.allow sshd:192.168.x.x # more /etc/hosts.deny sshd: 阅读全文