A complete web-based remote monitoring and management web site. Once setup you can install agents and perform remote desktop session to devices on the local network or over the Internet.
Go to file
Ylian Saint-Hilaire d968fd8f0f Updated packages, new agent rights enforcement 2018-11-27 17:13:01 -08:00
agents Updated packages, new agent rights enforcement 2018-11-27 17:13:01 -08:00
public First working MacOS mesh agent 2018-11-14 15:44:28 -08:00
views Fixed device group policy download in Linux. 2018-11-25 13:08:27 -08:00
.gitignore Automatic password hash update. 2017-11-03 11:06:27 -07:00
CreateSourcePackage.bat Initial main commit 2017-08-28 09:27:45 -07:00
LICENSE Fixed license 2017-08-29 16:05:59 -07:00
MeshCentral.sln Initial main commit 2017-08-28 09:27:45 -07:00
MeshCentralServer.njsproj Added Intel AMT features. 2018-09-28 15:27:26 -07:00
SourceFileList.txt Improved MeshAgent and MeshCmd. 2018-01-25 16:12:53 -08:00
amtevents.js Partinally ran code thru JsHint 2018-08-29 17:40:30 -07:00
amtscanner.js Partinally ran code thru JsHint 2018-08-29 17:40:30 -07:00
amtscript.js Partinally ran code thru JsHint 2018-08-29 17:40:30 -07:00
certoperations.js Added NGNX reverse-proxy support. 2018-11-01 15:01:21 -07:00
common.js Updated minified files, email regex. 2018-10-16 14:51:54 -07:00
db.js Improved MEI/SMBios in meshcore.js 2018-09-27 16:17:05 -07:00
exeHandler.js Partinally ran code thru JsHint 2018-08-29 17:40:30 -07:00
interceptor.js Partinally ran code thru JsHint 2018-08-29 17:40:30 -07:00
letsEncrypt.js Added recursive delete 2018-09-25 11:51:40 -07:00
meshaccelerator.js Partinally ran code thru JsHint 2018-08-29 17:40:30 -07:00
meshagent.js Workaround a race condition on meshagent sending coreinfo messages. 2018-11-25 12:59:42 -08:00
meshcentral.js Added html hover on some elements of the web application 2018-11-12 18:36:20 -08:00
meshmail.js Improved email system, mail templates in /meshcentral-data/mail-templates 2018-09-06 15:58:34 -07:00
meshrelay.js Updated packages, new agent rights enforcement 2018-11-27 17:13:01 -08:00
meshscanner.js Small server discovery fix 2018-09-01 22:32:39 -07:00
meshuser.js Fixed user session counts 2018-11-06 19:41:21 -08:00
mpsserver.js Fixed user session counts 2018-11-06 19:41:21 -08:00
multiserver.js Completed first pass with JsHint, updated windows MeshAgent. 2018-08-30 12:05:23 -07:00
package-lock.json Updated packages, new agent rights enforcement 2018-11-27 17:13:01 -08:00
package.json Updated packages, new agent rights enforcement 2018-11-27 17:13:01 -08:00
pass.js Completed first pass with JsHint, updated windows MeshAgent. 2018-08-30 12:05:23 -07:00
readme.txt Fixed Windows Locking, MeshCentral certificates and more 2018-07-23 17:34:24 -07:00
redirserver.js New MeshAgent, new border blinking feature. 2018-08-29 18:47:22 -07:00
sample-config.json Fixed user session counts 2018-11-06 19:41:21 -08:00
swarmserver.js Completed first pass with JsHint, updated windows MeshAgent. 2018-08-30 12:05:23 -07:00
webserver.js First working MacOS mesh agent 2018-11-14 15:44:28 -08:00
winservice.js Completed first pass with JsHint, updated windows MeshAgent. 2018-08-30 12:05:23 -07:00

readme.txt

MeshCentral
===========

For more information, [visit MeshCommander.com/MeshCentral2](http://www.meshcommander.com/meshcentral2).

Download the [full PDF user's guide](http://info.meshcentral.com/downloads/meshcentral2/MeshCentral2UserGuide.pdf) with more information on configuring and running MeshCentral2. In addition, the [installation guide](http://info.meshcentral.com/downloads/meshcentral2/MeshCentral2InstallGuide.pdf) can help get MeshCentral installed on Amazon AWS, Microsoft Azure, Ubuntu and the Raspberry Pi.

This is a full computer management web site. With MeshCentral, you can run your own web server to remotely manage and control computers on a local network or anywhere on the internet. Once you get the server started, create a mesh (a group of computers) and then download and install a mesh agent on each computer you want to manage. A minute later, the new computer will show up on the web site and you can take control of it. MeshCentral includes full web-based remote desktop, terminal and file management capability.

This version of MeshCentral that is completely rebuild of the original MeshCentral coded in C#. It's simpler and includes many other design improvements over the original. At some point in the future, [MeshCentral.com](http://meshcentral.com) that is still running the older code will switch to using this code base.

This version is BETA and should not be used in production.


Installation
------------

Make sure you have NodeJS and npm installed. If you are behind a proxy, setup npm to use the proxy:

```
	npm config set proxy http://proxy.com:88
	npm config set https-proxy http://proxy.com:88
```

Then, install MeshCentral by creating an empty folder and using npm to download the module:

```
	mkdir meshcentral
	cd meshcentral
	npm install meshcentral
```

To run MeshCentral you may need to use "nodejs" instead of "node" on Linux.

```
	cd ./node_modules/meshcentral
	node meshcentral [arguments]
```

One of the first things you will want to do is set a server name or IP address. This will be used by mesh agents to connect back to the server. So, make sure you set **a name that will resolve back to your server**. MeshCentral will not register this name for you. You must make sure to setup the DNS name yourself first, or use the right IP address. If you are just taking a quick look at MeshCentral, you can skip this step and do it at later time.

```
	node meshcentral --cert servername.domain.com
	node meshcentral --cert 1.2.3.4
```

On Windows, you can install MeshCentral to run as a background service, just run it using "--install". Once running, open a browser and enter the server url. By default, a TLS self-signed certificate is created so you will need to ignore the security warning given by your browser. A link to the root certificate you need to load in your browser is provided on the web site if you want to make warnings go away. You can run without TLS security using --notls, but this is not recommended.


Update and uninstall
--------------------

Uninstalling MeshCentral is super easy, just use npm as usual. For updating, just install over the previous version by installing again, data files will not be changed. From the parent folder of node_module, enter ether:

```
	npm install meshcentral
	npm uninstall meshcentral
```

Command Line
------------

Command line arguments on Windows only:

| Arguments                             | Description
| ------------------------------------- | -----------
| --install				| Install MeshCentral as a background service.
| --uninstall				| Uninstall MeshCentral background service.
| --start				| Start MeshCentral as a background service.
| --stop				| Stop MeshCentral background service.


Command line arguments on any platform:

| Arguments                             | Description
| ------------------------------------- | -----------
| --notls 				| Use HTTP instead of HTTPS for the main web server.
| --user [username] 			| Always login as [username] if the account exists.
| --port [number] 			| Web server port number (default to 443).
| --mpsport [number] 			| Intel AMT server port number (default to 4433).
| --redirport [number] 			| Redirection web server, redirects users to the HTTPS server (default to 80).
| --exactports 				| Server must run with correct ports or exit.
| --cert [name], (country), (org) 	| Create a web server certificate with a server name. Country and organization can optionaly be set.


Configuration File
------------------

As an alternative to using command line arguments, you can create a ./node-module/meshcentral-data/config.json file, for example:

```json
	{
		"settings": {
			"port": 8080,
			"redirport": 81
		},
		"domains": {
			"": {
				"title": "MyServer",
				"title2": "Servername",
				"userQuota": 1048576,
				"meshQuota": 248576,
				"newAccounts" : 1
			},
			"Customer1": {
				"title": "Customer1",
				"title2": "Extra String",
				"newAccounts" : 0
			},
			"Customer2": {
				"title": "Customer2",
				"title2": "Other String"
			}
		},
		"peers": {
			"serverId" : "Server1",
			"servers": {
				"Server1": { "url": "wss://192.168.1.100:443/" },
				"Server2": { "url": "wss://192.168.1.101:443/" }
			}
		}
	}
```

The "settings" part are for command line arguments. For example, instead of running with "--port 8080", you can put "port: 8080" in the settings portion of the config.json file. In addition, you can use the config.json file to create multi-tenancy servers. In the domains section, you can set options for the default domain ("") in addition to creating new domains.

For the configuration above, the root domain and two other domains will be accessible like this:

```
	https://servername:8080/
	https://servername:8080/customer1
	https://servername:8080/customer2
```

When you setup many domains, the server considers each domain seperatly. Each domain has seperate user accounts, administrators, etc. Within each domain, you can put a "title" and "title2" as strings that will show up at the top of the web site. "userQuota" indicates the default maximum amount of data a user can have in it's "My Files" folder. "meshQuota" is the maximum total size of files in each mesh folder. "newAccounts" indicates if new accounts can be created from the login page, 0 if not allowed, 1 if allowed. Note that if a web site has no accounts, the new account option will be available until an account is created and the first account will be the site administrator.

MeshCentral also supports server peering, add the "peers" section with a list of all peers. If you want to do server peering, make sure all servers are configured to use the same database. Also, the "serverId" value is optional. If it's not specified, the computer hostname is used instead.

Other Notes
-----------

For Windows users, if you install MeshCentral globally using "npm install meshcentral -g", it will not be able to run correctly as a Windows Service. It will immidiatly stop each time you start it.

For more information on MeshCentral or other tools, visit [MeshCommander.com](http://meshcommander.com).


Tutorials
---------

How to install MeshCentral2 in a few minutes.

[![MeshCentral2 - Installation](https://img.youtube.com/vi/LSiWuu71k_U/mqdefault.jpg)](https://www.youtube.com/watch?v=LSiWuu71k_U)


Demonstration of MeshCentral2 usages and more tips & tricks.

[![MeshCentral2 - Usages](https://img.youtube.com/vi/1E3NqGJzYds/mqdefault.jpg)](https://www.youtube.com/watch?v=1E3NqGJzYds)


How to setup Intel® AMT client initiated remote access (CIRA) to connect to MeshCentral2.

[![MeshCentral2 - Intel AMT CIRA](https://img.youtube.com/vi/rA2KHa2jkO0/mqdefault.jpg)](https://www.youtube.com/watch?v=rA2KHa2jkO0)


License
-------

This software is licensed under [Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0).