Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
openssh 无法使用hosts.deny禁用特定ip
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese)
View previous topic :: View next topic  
Author Message
Linas
n00b
n00b


Joined: 09 Feb 2015
Posts: 1

PostPosted: Mon Feb 09, 2015 5:36 am    Post subject: openssh 无法使用hosts.deny禁用特定ip Reply with quote

/etc/hosts.deny
# DenyHosts: Mon Feb 9 13:02:31 2015
sshd: xxx.xxx.xxx.xx

这里禁止的ip无效

我的openssh版本
net-misc/openssh-6.7_p1 USE="bindist hpn pam pie -X -X509 -kerberos -ldap -ldns -libedit -sctp (-selinux) -skey -static"


我设置hosts.deny是因为我发现有个ip在一直尝试连我的电脑,现在我已经限制了root用户登录,我想能把这样的ip加入黑名单,那就最好了
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum