1615141312/ 11/ 109876
# cd /usr/ports/security/denyhosts/
# make install clean //Pythonがなければ自動的にインストールされます。
# touch /etc/hosts.deniedssh //ファイルがなければ作成
# vi /usr/local/etc/denyhosts.conf
BLOCK_SERVICE = sshd //コメントアウト

# vi /etc/hosts.allow
sshd : /etc/hosts.deniedssh : deny //ALL : ALL : allowより上に書き込む
sshd : ALL : allow
# vi /etc/rc.conf
denyhosts_enable="YES" //自動起動
syslogd_flags="-c"

# /usr/local/etc/rc.d/denyhosts start //手動起動

参考
FreeBSDでDenyHostsのインストール (Bloom World)
>>commemt
name
tittle
color 反転用
mail
url
text
pass   Vodafone絵文字 i-mode絵文字 Ezweb絵文字
>>trackback
この記事にトラックバックする>>
  top  
SEO 忍者ブログ


Copyright (C) 2007-2010 大塚味噌醸造所 All Rights Reserved.