Meshcentral: wget -O meshagent binary installer fails 0.6.35 : 401 unauthorized

Created on 12 Sep 2020  路  3Comments  路  Source: Ylianst/MeshCentral

Running 0.6.35 when trying the command to download the binary installer (for linux x86_64) it fails with authentification failed:

#聽wget -O meshagent "https://meshcentral.xx.yy/meshagents?id=$zzz&installflags=0&meshinstall=6"
...
HTTP request sent, awaiting response... 401 Unauthorized

Username/Password Authentication Failed.

Downloading by clicking on the meshagent binary agent download web dialog "meshagent" works fine and it's the same URL so I assume login cookies checks are not disabled as they should on the download URL.

Suggestion: put linux x86-64 first in the dialog box as it's likely far more common than x86-32 which is currently the default choice :)

Fixed - Confirm & Close bug

All 3 comments

Thanks for the report, I will check this. Also, your right about placing the 64bit Linux agent first, that's a good idea.

Just published MeshCentral v0.6.36 with a fix for this. Also, the installer has a few more issues and I made more improvements in this area. Let me know what you think.

wget works as does the agent on my test system with 0.6.36, thanks!

wget -O meshagent ...
chmod 755 meshagent
./meshagent -install --installPath=/opt/mesh
Was this page helpful?
0 / 5 - 0 ratings

Related issues

petervanv picture petervanv  路  3Comments

veitw picture veitw  路  4Comments

PathfinderNetworks picture PathfinderNetworks  路  3Comments

robclay picture robclay  路  3Comments

penguinthingie picture penguinthingie  路  4Comments