fix confusion

This commit is contained in:
rustdesk 2022-04-21 15:29:33 +08:00
parent 1892fd7d80
commit 0f4d58cdcb
3 changed files with 6 additions and 6 deletions

View File

@ -111,13 +111,13 @@ hbbs.yourhost.com:21116
## Key
-----------
Different from the old version, the Key in this version is mandatory. 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`),
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.
````
cat ./id_ed25519.pub
````
does not affect the connection, but the connection cannot be encrypted. If you prohibit users without keys from establishing non-encrypted connections, please add the `-k _` parameter when running hbbs and hbbr, for example:
If you 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 _

View File

@ -107,13 +107,13 @@ 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 _

View File

@ -107,13 +107,13 @@ 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 _