ssh如何限制root只能从某些指定的IP登录



ssh如何限制root只能从某些指定的IP登录
 
使用tcpwrapper 
  www.2cto.com  
在/etc/hosts.deny里面也添加允许的IP主机地址,如下
 
sshd: all except 192.168.100.110
 
/etc/hosts.allow不用写就可以了
 

相关内容

    暂无相关文章