mirror of
https://github.com/rustdesk/doc.rustdesk.com.git
synced 2026-04-20 23:20:17 +00:00
console-home anchor
This commit is contained in:
@@ -111,20 +111,22 @@ hbbs.yourhost.com:21116
|
||||
|
||||
## 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 key and public key (respectively located in the `id_ed25519` and `id_ed25519.pub` files in the running directory), its main purpose is for communication encryption, if you did not fill in the Key in the previous step (the content in the public key file `id_ed25519.pub`), does not affect the connection, but the connection cannot be encrypted.
|
||||
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 key and public key (respectively located in the `id_ed25519` and `id_ed25519.pub` files in the running directory), the 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.
|
||||
|
||||
````
|
||||
cat ./id_ed25519.pub
|
||||
````
|
||||
|
||||
If you prohibit users without key from establishing non-encrypted connections, please add the `-k _` parameter when running hbbs and hbbr, for example:
|
||||
If you wanna prohibit users without key from establishing non-encrypted connections, please add the `-k _` parameter when running hbbs and hbbr, for example:
|
||||
````
|
||||
./hbbs -r <address of the host where hbbr is running> -k _
|
||||
./hbbr -k _
|
||||
````
|
||||
|
||||
If you wanna change key, please remove `id_ed25519` and `id_ed25519.pub` files and restart hbbs/hbbr.
|
||||
If you wanna change key, please remove `id_ed25519` and `id_ed25519.pub` files and restart hbbs/hbbr,hbbs will generate new key pair.
|
||||
|
||||
{{% notice note %}}
|
||||
Key can also be seen on the [console](/docs/en/self-host/console/) welcome page (Click on Windows EXE).
|
||||
Key can also be seen on the [console](/docs/en/self-host/console/#console-home) welcome page (Click on Windows EXE).
|
||||
{{% /notice %}}
|
||||
|
||||
@@ -107,22 +107,24 @@ hbbs.yourhost.com:21116
|
||||
|
||||
## Key
|
||||
-----------
|
||||
同上个版本不同,本版本中的Key是强制的,但是不用你自己设置。hbbs在第一次运行时,会自动产生一对加密私钥和公钥(分别位于运行目录下的`id_ed25519`和`id_ed25519.pub`文件中),其主要用途是为了通讯加密,如果您在上一步骤中没有填写Key(公钥文件`id_ed25519.pub`中的内容),不影响连接,但是连接无法加密。
|
||||
同上个版本不同,本版本中的key是强制的,但是不用你自己设置。hbbs在第一次运行时,会自动产生一对加密私钥和公钥(分别位于运行目录下的`id_ed25519`和`id_ed25519.pub`文件中),其主要用途是为了通讯加密。
|
||||
|
||||
如果您在上一步骤中没有填写`Key:`(公钥文件`id_ed25519.pub`中的内容),不影响连接,但是连接无法加密。
|
||||
|
||||
```
|
||||
cat ./id_ed25519.pub
|
||||
```
|
||||
|
||||
如果您禁止没有Key的用户建立非加密连接,请在运行hbbs和hbbr的时候添加`-k _ `参数,例如:
|
||||
如果您禁止没有key的用户建立非加密连接,请在运行hbbs和hbbr的时候添加`-k _ `参数,例如:
|
||||
```
|
||||
./hbbs -r <hbbr运行所在主机的地址> -k _
|
||||
./hbbr -k _
|
||||
```
|
||||
|
||||
如果要更改key,请删除 `id_ed25519` 和 `id_ed25519.pub` 文件并重新启动 hbbs/hbbr。
|
||||
如果要更改key,请删除 `id_ed25519` 和 `id_ed25519.pub` 文件并重新启动 hbbs/hbbr,hbbs将会产生新的密钥对。
|
||||
|
||||
{{% notice note %}}
|
||||
在[控制台](/docs/zh-cn/self-host/console/)欢迎页面(点击Windows EXE)也可以看到Key。
|
||||
在[控制台](/docs/zh-cn/self-host/console/#console-home)欢迎页面(点击Windows EXE)也可以看到Key。
|
||||
{{% /notice %}}
|
||||
|
||||
|
||||
|
||||
@@ -107,20 +107,22 @@ hbbs.yourhost.com:21116
|
||||
|
||||
## Key
|
||||
-----------
|
||||
同上個版本不同,本版本中的Key是強制的,但是不用你自己設置。hbbs在第一次運行時,會自動產生一對加密私鑰和公鑰(分別位於運行目錄下的`id_ed25519`和`id_ed25519.pub`文件中),其主要用途是為了通訊加密,如果您在上一步驟中沒有填寫Key(公鑰文件`id_ed25519.pub`中的內容),不影響連接,但是連接無法加密。
|
||||
同上個版本不同,本版本中的key是強制的,但是不用你自己設置。hbbs在第一次運行時,會自動產生一對加密私鑰和公鑰(分別位於運行目錄下的`id_ed25519`和`id_ed25519.pub`文件中),其主要用途是為了通訊加密。
|
||||
|
||||
如果您在上一步驟中沒有填寫`Key:`(公鑰文件`id_ed25519.pub`中的內容),不影響連接,但是連接無法加密。
|
||||
|
||||
```
|
||||
cat ./id_ed25519.pub
|
||||
```
|
||||
如果您禁止沒有Key的用戶建立非加密連接,請在運行hbbs和hbbr的時候添加`-k _ `參數,例如:
|
||||
如果您禁止沒有key的用戶建立非加密連接,請在運行hbbs和hbbr的時候添加`-k _ `參數,例如:
|
||||
|
||||
```
|
||||
./hbbs -r <hbbr運行所在主機的地址> -k _
|
||||
./hbbr -k _
|
||||
```
|
||||
|
||||
如果要更改key,請刪除 `id_ed25519` 和 `id_ed25519.pub` 文件並重新啟動 hbbs/hbbr。
|
||||
如果要更改key,請刪除 `id_ed25519` 和 `id_ed25519.pub` 文件並重新啟動 hbbs/hbbr,hbbs將會產生新的密鑰對。
|
||||
|
||||
{{% notice note %}}
|
||||
在[控制台](/docs/zh-tw/self-host/console/)歡迎頁面(點擊Windows EXE)也可以看到Key。
|
||||
在[控制台](/docs/zh-tw/self-host/console/#console-home)歡迎頁面(點擊Windows EXE)也可以看到Key。
|
||||
{{% /notice %}}
|
||||
|
||||
Reference in New Issue
Block a user