Relace HASS with Home Assistant and set format
This commit is contained in:
parent
ebf718df9e
commit
6119e42191
1 changed files with 5 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
layout: page
|
layout: page
|
||||||
title: "fail2ban for HASS"
|
title: "fail2ban"
|
||||||
description: "Setting up fail2ban to read HASS log files to improve security."
|
description: "Setting up fail2ban to read Home Assistant's log files to improve security."
|
||||||
date: 2017-05-24 10:05
|
date: 2017-05-24 10:05
|
||||||
sidebar: true
|
sidebar: true
|
||||||
comments: false
|
comments: false
|
||||||
|
@ -14,8 +14,9 @@ This is a quick guide on how to setup fail2ban for Home Assistant. This was orig
|
||||||
|
|
||||||
First install `fail2ban`. On Debian/Ubuntu this would be `apt-get install fail2ban`. On other distros you can google it.
|
First install `fail2ban`. On Debian/Ubuntu this would be `apt-get install fail2ban`. On other distros you can google it.
|
||||||
|
|
||||||
Then make sure logging is enabled in `/home/homeassistant/.homeassistant/configuration.yaml` for your HA instance:
|
Then make sure logging is enabled in your `configuration.yaml` file for your Home Assistant instance:
|
||||||
```
|
|
||||||
|
```yaml
|
||||||
logger:
|
logger:
|
||||||
default: critical
|
default: critical
|
||||||
logs:
|
logs:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue