Skip to content

Commit 3bb70eb

Browse files
Added Caution callout to OpenSSH knowledge base
1 parent 5e9279e commit 3bb70eb

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

docs/knowledge-base/server/openssh.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,14 @@ These settings need to be configured manually before running the Coolify install
2525
PubkeyAuthentication yes
2626
```
2727
::: info Note
28-
`PermitRootLogin` can be set to `yes`, `without-password`, or `prohibit-password`. We recommend `prohibit-password` for better security.
28+
The `PermitRootLogin` option can be set to `yes`, `without-password`, or `prohibit-password`. For enhanced security, we recommend using `prohibit-password`.
2929
:::
3030

31-
2. Restart SSH Service
31+
::: warning Caution!
32+
Make sure to add your SSH keys to the `~/.ssh/authorized_keys` file before setting `PermitRootLogin` to `prohibit-password`, otherwise you may lock yourself out of the server.
33+
:::
34+
35+
1. Restart SSH Service
3236

3337
SystemD:
3438
```bash

0 commit comments

Comments
 (0)