Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"syntax error near unexpected token `wget' " #5989

Open
Pyronaut18 opened this issue Apr 3, 2024 · 4 comments
Open

"syntax error near unexpected token `wget' " #5989

Pyronaut18 opened this issue Apr 3, 2024 · 4 comments
Assignees
Labels

Comments

@Pyronaut18
Copy link

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.

@Pyronaut18 Pyronaut18 added the bug label Apr 3, 2024
@si458
Copy link
Collaborator

si458 commented Apr 3, 2024

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?

@buckybytes
Copy link
Contributor

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:

  1. 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.
  2. 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.
  3. Make sure there aren't any aliases defined in the ~/.bashrc file that conflict with the commands used in the copied text.

@si458
Copy link
Collaborator

si458 commented Apr 19, 2024

@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)

@si458 si458 self-assigned this Apr 19, 2024
@si458
Copy link
Collaborator

si458 commented May 16, 2024

@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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants