Skip to content

Commit

Permalink
Added Caution callout to OpenSSH knowledge base
Browse files Browse the repository at this point in the history
  • Loading branch information
ShadowArcanist committed Mar 6, 2025
1 parent 5e9279e commit 3bb70eb
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions docs/knowledge-base/server/openssh.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,14 @@ These settings need to be configured manually before running the Coolify install
PubkeyAuthentication yes
```
::: info Note
`PermitRootLogin` can be set to `yes`, `without-password`, or `prohibit-password`. We recommend `prohibit-password` for better security.
The `PermitRootLogin` option can be set to `yes`, `without-password`, or `prohibit-password`. For enhanced security, we recommend using `prohibit-password`.
:::

2. Restart SSH Service
::: warning Caution!
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.
:::

1. Restart SSH Service

SystemD:
```bash
Expand Down

0 comments on commit 3bb70eb

Please sign in to comment.