vps

さくら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…