mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
docs - classifying codeblocks
This commit is contained in:
parent
b0d3553f31
commit
c779ab1c31
5 changed files with 25 additions and 25 deletions
|
|
@ -123,7 +123,7 @@ This technique needs some setup, but allows MeshCtrl to login as any account wit
|
|||
|
||||
In this technique, we will get a special encryption key from the server and use this to generate a login token to the server. First, we must activate the login token feature of the server by setting “AllowLoginToken” to “true” in the “settings” section of config.json:
|
||||
|
||||
```
|
||||
```json
|
||||
{
|
||||
"settings": {
|
||||
"Port": 443,
|
||||
|
|
@ -199,7 +199,7 @@ node ./node_modules/meshcentral/meshctrl serverinfo –-loginkeyfile key.txt --u
|
|||
|
||||
So, we add both the url to access the correct domain and the domain name explicitly. The domain name must be exactly the one that is used in the domain section of the config.json for of MeshCentral. For example, if the MeshCentral config.json file looks like this:
|
||||
|
||||
```
|
||||
```json
|
||||
{
|
||||
"settings": {
|
||||
"Cert": "myserver.com",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue