MeshCentral
MeshCentral copied to clipboard
"syntax error near unexpected token `wget' "
I am getting this error "syntax error near unexpected token `wget' " when I copy and paste from "Add Mesh Agent". I am trying to add an agent to Ubuntu server 22.04.3. I tried to manually copy the the agent and also using the copy button.
Plz can u follow the template in the future
What web browser are u using? What os are u using the copy the link from? What's the ssh client are pasting into?
You mentioned that you were trying to add an agent to Ubuntu Server. Just to be clear, you are trying to remotely control an Ubuntu Server, not using an Ubuntu Server for meshcentral, and trying to control a non Ubuntu Server device, right?
This error is basically telling you that the syntax of what is being pasted into the command line is not valid.
Assuming that it didn't get modified somewhere between the copy and the paste, some common causes:
- Using a strange shell. Does the error start with "bash:" or something else? If it is something else, you may want to google any differences between bash and the shell you are using.
- Is wget installed on the client machine? It should be by default, but if you've got a stripped down client machine, it might not have it.
- Make sure there aren't any aliases defined in the ~/.bashrc file that conflict with the commands used in the copied text.
@Pyronaut18 is this still an issue? are you using the latest version 1.1.22? what web browser where you using? which panel/page where you seeing the command? (agentinvite page, the add devices page)
@Pyronaut18 is this still an issue? are you using the latest version 1.1.22? what web browser where you using? which panel/page where you seeing the command? (agentinvite page, the add devices page)