remove shell

This commit is contained in:
root
2023-09-24 18:46:20 +03:00
parent 78f49dc907
commit 65914f8895
26 changed files with 132 additions and 132 deletions

View File

@ -5,12 +5,12 @@ date: 2022-11-29T13:41:00+05:00
tags: [linux, ssh]
---
## Установка пакета fail2ban
```shell
```
apt -y install fail2ban
```
## Правило для ssh
``` shell
```
[sshd]
enabled = true
port = <ssh-port>
@ -24,6 +24,6 @@ bantime = 3600
```
## Перезапуск сервиса fail2ban
```shell
```
systemctl restart fail2ban
```