Comandos para instalar MeshCentral
Eliminar Teamviewer
apt purge -y teamviewer-host
apt update
rm -r /home/cvc/.local/share/teamviewer15/
rm -r /home/cvc/.config/teamviewer/
rm -r /home/cvc/.cache/TeamViewer/
rm -r /root/.config/teamviewer
rm -r /root/.local/share/teamviewer15
Instalar agente de MeshCentral
rm -r mesh/; mkdir mesh && cd mesh && curl "https://comunicacionvisualcanarias.com:444/meshagents?script=1" -o ./meshinstall.sh && chmod 755 ./meshinstall.sh && echo 'cvc' | sudo -S -E ./meshinstall.sh https://comunicacionvisualcanarias.com:444 'BWd1yDz9wBrA8h8LPbiIzrLJqwICVU10yVuEeM02g0LjaWPq4bf$hQIkrb41yX2@'
Identificar equipo (version 2021-2023)
jq '.info.device.name, .info.device.type' /home/cvc/system/server.json; echo "Teamviewer ID:" $(grep 'ClientID' /opt/teamviewer/config/global.conf | cut -d' ' -f 4)