summaryrefslogtreecommitdiff
path: root/content/sshkeys.md
diff options
context:
space:
mode:
authorDan Yael Sajarópulos Verdugo <danyael031@gmail.com>2024-05-11 17:39:39 -0700
committerDan Yael Sajarópulos Verdugo <danyael031@gmail.com>2024-05-11 17:39:39 -0700
commit9e09139039ca48d790548673d1c532de5299ed96 (patch)
tree8fd20809f448930d21cb361a6b861d4a04fc8519 /content/sshkeys.md
parent8c6d8cd9de9b3ec3798bdaa0666be2a8efd48721 (diff)
Added Debian 12 ssh configuration overriding warning
Diffstat (limited to 'content/sshkeys.md')
-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..550a3fb 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:**
+
+If you are using Debian 12, 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