Reaction en remplacement de fail2ban
This commit is contained in:
6
ssh.md
6
ssh.md
@@ -28,7 +28,7 @@ Un agent est un petit programme qui garde votre clé privée déchiffrée en mé
|
|||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
```
|
```shell
|
||||||
apt install --no-install-recommends openssh-server
|
apt install --no-install-recommends openssh-server
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -43,3 +43,7 @@ nano .ssh/authorized_keys
|
|||||||
chmod 600 .ssh/authorized_keys
|
chmod 600 .ssh/authorized_keys
|
||||||
```
|
```
|
||||||
|
|
||||||
|
apt install ./reaction_2.2.0-1_amd64.deb
|
||||||
|
apt install iptables
|
||||||
|
systemctl enable reaction@reaction.jsonnet
|
||||||
|
systemctl start reaction@reaction.jsonnet
|
||||||
|
|||||||
Reference in New Issue
Block a user