From e64cfb7e872e5d2667d739c5ca10b71d8197a839 Mon Sep 17 00:00:00 2001 From: RustDesk <71636191+rustdesk@users.noreply.github.com> Date: Fri, 24 May 2024 18:51:01 +0800 Subject: [PATCH] Update _index.en.md --- .../self-host/rustdesk-server-oss/install/_index.en.md | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/content/self-host/rustdesk-server-oss/install/_index.en.md b/content/self-host/rustdesk-server-oss/install/_index.en.md index 361a74d9..7500f5e8 100644 --- a/content/self-host/rustdesk-server-oss/install/_index.en.md +++ b/content/self-host/rustdesk-server-oss/install/_index.en.md @@ -101,7 +101,7 @@ Please run with the `-h` option to see help if you want to choose your own port. ### Key -Different from the old version, the key in this version is mandatory, but you don't need to set it yourself. When `hbbs` runs for the first time, it will automatically generate a pair of encrypted private and public keys (respectively located in the `id_ed25519` and `id_ed25519.pub` files in the running directory), whose main purpose is for communication encryption. +The key is mandatory, but you don't need to set it yourself. When `hbbs` runs for the first time, it will automatically generate a pair of encrypted private and public keys (respectively located in the `id_ed25519` and `id_ed25519.pub` files in the running directory), whose main purpose is for communication encryption. If you did not fill in the `Key:` (the content in the public key file `id_ed25519.pub`) in the previous step, it does not affect the connection, but the connection cannot be encrypted. @@ -109,13 +109,6 @@ If you did not fill in the `Key:` (the content in the public key file `id_ed2551 cat ./id_ed25519.pub ``` -If you want to prohibit users without the key from establishing non-encrypted connections, please add the `-k _` parameter when running `hbbs` and `hbbr`, for example: - -```sh -./hbbs -r -k _ -./hbbr -k _ -``` - If you want to change the key, remove the `id_ed25519` and `id_ed25519.pub` files and restart `hbbs`/`hbbr`, `hbbs` will generate a new key pair. {{% notice note %}}