6
6

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

SSHD等の総当たり対策

Posted at

インストール

root
yum -y install denyhosts

設定ファイル

ls -l /etc/denyhosts.conf

再起動等

# Usage: /etc/init.d/denyhosts start        # 起動
# Usage: /etc/init.d/denyhosts stop         # 停止
# Usage: /etc/init.d/denyhosts status       # 状態確認
# Usage: /etc/init.d/denyhosts restart      # 再起動
# Usage: /etc/init.d/denyhosts reload       # 再読み込み
# Usage: /etc/init.d/denyhosts force-reload # 再起動(強制)
# Usage: /etc/init.d/denyhosts condrestart  # 再起動(起動している場合のみ)
/etc/init.d/denyhosts restart
6
6
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
6

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?