Meshcentral: Feature Request: Shortened URL Generator for adding an agent

Created on 18 Mar 2021  路  5Comments  路  Source: Ylianst/MeshCentral

It would be nice to have an internal generator for a group install URL. IE: there is a button on the add agent popup that says "generate short link", and then the link could be "https://contosso.com/install/GAde" (or some other randomly generated 4 character word). This link could sniff the user agent, and download the appropriate binary (or provide the install shell script if identified as wget/curl).

Would be a nice to have in situations where you are setting up a new computer without clipboard access, to have a nice URL you can just type in manually. Alternatively, it could provide an easy to share-over-the-phone link for one-time access.

Fixed - Confirm & Close question

All 5 comments

I know this is not the answer you were expecting, but you could just generate a invite link with unlimited time, and make your own short link pointing to that generated address.
You can even serve your own short link generator server, so you can customize like you want

In the domain section of the config.json, add this line:

"agentInviteCodes": true

Restart the server and click on a device group. You should see an option to create an invitation code for that device group.

image

Once you go to the invitation link, you can enter the code.

image

The install page will offer all agents, but will favor the agent based on your browser's user agent.

image

Let me know if that works.

Didn't know about this feature, just enabled and tested and it works great.

Love it.

Cheers Ylianst. The amount of times I think, "this would be nice to have", and it's just there ready to use is fantastic. I should read completely through the config schema before I bring up anything else :).

No worries. These requests also help the community that searches thru GitHub issues.

Was this page helpful?
0 / 5 - 0 ratings