Skip to content

Commit

Permalink
Update vps-setup.md to fix number
Browse files Browse the repository at this point in the history
  • Loading branch information
elliottminns authored Nov 18, 2024
1 parent de0bc1a commit f220ac4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/vps-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ ssh-copy-id -i ~/.ssh/id_ed25519.pub newuser@your-server-ip
ssh newuser@your-server-ip
```

## 2. Harden SSH
## 3. Harden SSH

```
# Open SSH configuration file
Expand All @@ -51,7 +51,7 @@ sudo systemctl restart ssh
ssh newuser@your-server-ip
```

## 3. Set Up a Firewall (UFW)
## 4. Set Up a Firewall (UFW)
```
# Install UFW if not already installed
sudo apt install ufw
Expand All @@ -68,7 +68,7 @@ sudo ufw enable
sudo ufw status
```

## 4. (Optional) Install and Configure Fail2Ban
## 5. (Optional) Install and Configure Fail2Ban

```
# Install Fail2Ban
Expand Down

0 comments on commit f220ac4

Please sign in to comment.