Skip to content

Commit 22496b8

Browse files
authored
Update README.md
1 parent 31a25c1 commit 22496b8

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

projects/secure-vps/README.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,14 @@ A simple guide to setup fail2ban action for sending an alert message to discord
6666
action = discord-ban
6767
```
6868
5. Restart fail2ban
69-
```
70-
sudo systemctl restart fail2ban
71-
```
69+
```
70+
sudo systemctl restart fail2ban
71+
```
7272
7373
6. Test
74-
To test, you can intentionally trigger a failed login from a different IP or use:
75-
```
76-
sudo fail2ban-client set sshd banip 1.2.3.4
77-
```
78-
You should receive an alert in your Discord channel.
74+
To test, you can intentionally trigger a failed login from a different IP or use:
75+
```
76+
sudo fail2ban-client set sshd banip 1.2.3.4
77+
```
78+
79+
All are done!. You should receive an alert in your Discord channel.

0 commit comments

Comments
 (0)