2014-03-01から1日間の記事一覧

さくらVPSのセキュリティ対策メモ

rootログインを禁止 rootを禁止 # vi /etc/ssh/sshd_config PermitRootLogin no sshを再起動 # service sshd restart logwatchでレポートログを送る 設定ファイルを変更。 # sudo vim /usr/share/logwatch/default.conf/logwatch.conf MailTo = hogehoge@gma…