summaryrefslogtreecommitdiff
path: root/content
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2024-05-25 02:28:30 +0000
committerGitHub <noreply@github.com>2024-05-25 02:28:30 +0000
commita9e27ff0e6bcf81722d594808b159bb09d7ed004 (patch)
tree22777002804ba0eabe4cc30b2bc3e1e7847ecfaf /content
parent0d534242b4089d8d724186cd8a139afae545e5b9 (diff)
parent6b2dbaad0e360bad4c0294bfe2f4534b2938e103 (diff)
Merge pull request #304 from danyael031/master
Added ssh configuration overriding warning
Diffstat (limited to 'content')
-rw-r--r--content/sshkeys.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/content/sshkeys.md b/content/sshkeys.md
index f1c8c0d..7c39413 100644
--- a/content/sshkeys.md
+++ b/content/sshkeys.md
@@ -123,6 +123,22 @@ Once we\'ve done that, we will reload our SSH daemon:
systemctl reload sshd
```
+### **Warning:**
+
+It is possible that your ssh configuration
+will be overridden by the default configuration added when creating
+the VPS, which will leave you vulnerable to brute force attacks. To
+prevent this, remove the configuration file using the following
+command:
+
+```sh
+rm /etc/ssh/sshd_config/50-cloud-init.conf
+```
+
+Also verify that the `/etc/ssh/ssh_config.d/` path is empty. If not,
+make sure that the configuration files in that folder are not
+overriding yours.
+
### We\'re done!
Now you can log in quickly and password-less-ly to your server, despite