|
 
- 帖子
- 758
- 精华
- 1
- 积分
- 4825
- 性别
- 男
- 在线时间
- 319 小时
- 注册时间
- 2008-3-6
- 最后登录
- 2012-1-9
|
楼主
发表于 2011-1-19 13:38
| 只看该作者
restrict root ssh login coming from all but a single IP address
restrict root ssh login coming from all but a single IP address.
I was under the impression that I just had to add this to /etc/pam.d/sshd:
account required pam_access.so
and this to /etc/security/access.conf:
-:root:ALL EXCEPT IPADDRESS |
|