mirror of
https://github.com/rustdesk/doc.rustdesk.com.git
synced 2024-11-07 08:54:20 +01:00
Update _index.zh-cn.md
This commit is contained in:
parent
24063d6303
commit
4777e22f27
@ -75,50 +75,18 @@ hbbs.example.com:21116
|
|||||||
|
|
||||||
您还可以使用[上面的步骤](https://rustdesk.com/docs/en/self-host/client-configuration/#setup-using-import-or-export)导出字符串,删除任何 `=` 位于字符串的开头或结尾。 如果设置未显示,请重新启动 RustDesk 客户端。
|
您还可以使用[上面的步骤](https://rustdesk.com/docs/en/self-host/client-configuration/#setup-using-import-or-export)导出字符串,删除任何 `=` 位于字符串的开头或结尾。 如果设置未显示,请重新启动 RustDesk 客户端。
|
||||||
|
|
||||||
### 5. 将配置放入 rustdesk.exe 文件名中 (仅支持 Windows)
|
### 5. 通过剪贴板从专业版导入配置
|
||||||
|
|
||||||
Change `rustdesk.exe` to rustdesk-`host=<host-ip-or-name>,key=<public-key-string>`.exe, e.g. rustdesk-`host=192.168.1.137,key=xfdsfsd32=32`.exe. You can see the config result in the About Window below.
|
|
||||||
|
|
||||||
As a `Pro` user you will be able to retrieve the whole encrypted string from the [web console](https://rustdesk.com/docs/en/self-host/rustdesk-server-pro/console/) then download and rename the RustDesk Client exe, you can upload this somewhere easy for your customers to use.
|
|
||||||
|
|
||||||
将 `rustdesk.exe` 更改为 rustdesk-`host=<主机 IP 或名称>,key=<公钥字符串>`.exe,例如 rustdesk-`主机=192.168.1.137,密钥=xfdsfsd32=32`.exe。 您可以在下面的 "关于" 窗口中看到配置结果。
|
|
||||||
|
|
||||||
作为 `Pro` 用户,您将能够从 [Web 控制台](https://rustdesk.com/docs/en/self-host/rustdesk-server-pro/console/) 检索整个加密字符串,然后下载 并重命名 RustDesk Client exe,您可以将其上传到易于客户使用的地方。
|
|
||||||
|
|
||||||
![](/docs/en/self-host/rustdesk-server-pro/console/images/console-home.png?v2)
|
![](/docs/en/self-host/rustdesk-server-pro/console/images/console-home.png?v2)
|
||||||
|
|
||||||
<a name="invalidchar"></a>
|
https://github.com/rustdesk/rustdesk-server-pro/discussions/372#discussioncomment-10473298
|
||||||
{{% notice note %}}
|
|
||||||
您需要同时设置 `host` 和 `key`,缺少任何一个都将不起作用。
|
|
||||||
|
|
||||||
可以选择在键后面, `.exe` 部分前面,添加一个 `,`(逗号)字符作为分隔符,以避免 Windows 或浏览器在下载重复名称时重命名文件时键被破坏,例如 `host=<主机 IP 或名称>,key=<公钥字符串>,.exe`。
|
### 6. [硬编码](https://rustdesk.com/docs/en/self-host/client-configuration/hardcode-settings/)
|
||||||
|
|
||||||
如果密钥中存在无法在 Windows 文件名中使用的无效字符,请删除从服务器上下载 `id_ed25519` 文件并重启 `hbbs`/`hbbr`。
|
### 7. 通过命令行 `--config`
|
||||||
这将重新生成 `id_ed25519.pub` 文件。
|
|
||||||
您可能需要重复此过程,直到获得有效字符。
|
|
||||||
{{% /notice %}}
|
|
||||||
|
|
||||||
#### 在名称中包含带有 `--` 的配置字符串
|
|
||||||
|
|
||||||
示例: `rustdesk--{config-string}--.exe`
|
|
||||||
|
|
||||||
{{% notice note %}}
|
|
||||||
请不要将 `-licensed-` 与 `--` 一起使用。例如 `rustdesk-licensed-{config-string}--.exe` 在版本 1.2.3 中不起作用。
|
|
||||||
我们将在 1.2.4 版本中修复它。
|
|
||||||
{{% /notice %}}
|
|
||||||
|
|
||||||
我们注意到,在某些情况下,当双重下载时,类似 `copy (1)` 的内容会添加到文件名末尾,这会破坏配置。
|
|
||||||
|
|
||||||
通过在配置字符串后面添加 `--`,即使文件名中添加了某些内容,也不会损坏配置字符串,并且 RustDesk 将正确检索它。
|
|
||||||
|
|
||||||
### 6. [Hardcoding Custom Settings](https://rustdesk.com/docs/en/self-host/client-configuration/hardcode-settings/)
|
|
||||||
|
|
||||||
### 7. Use command line `--config`
|
|
||||||
|
|
||||||
`rustdesk.exe --config <config-string>`
|
`rustdesk.exe --config <config-string>`
|
||||||
|
|
||||||
You can get the config string from web console (you can see it on above picture) or from RustDesk client "Settings → Network" ([here](https://github.com/rustdesk/rustdesk/discussions/7118) is a discussion about this).
|
You can get the config string from web console (you can see it on above picture) or from RustDesk client "Settings → Network" ([here](https://github.com/rustdesk/rustdesk/discussions/7118) is a discussion about this).
|
||||||
|
|
||||||
您可以从 Web 控制台(您可以在上图中看到它)或从 RustDesk 客户端 "设置 → 网络" 获取配置字符串([此处](https://github.com/rustdesk/rustdesk/discussions/7118)对此进行讨论)。
|
您可以从 Web 控制台(您可以在上图中看到它)或从 RustDesk 客户端 "设置 → 网络" 获取配置字符串([此处](https://github.com/rustdesk/rustdesk/discussions/7118)对此进行讨论)。
|
||||||
|
|
||||||
### 8. [高级设置](https://rustdesk.com/docs/zh-cn/self-host/client-configuration/advanced-settings/)
|
|
||||||
|
Loading…
Reference in New Issue
Block a user