MeshCommander icon indicating copy to clipboard operation
MeshCommander copied to clipboard

Invalid Username or Password

Open robclay opened this issue 4 years ago • 5 comments

Today I have tried to better understand (and use) MeshCommander. I just uploaded my MC server to 0.7.68.

I followed the instructions in MeshCmd User's Guide. I edited my meshaction.txt to include my Password. When I run meshcmd, I get "Invalid username or password." I then removed the password from the txt file, and tried to pass the pass on command line, and get the same issue.

I note that the action file has: wss://www.REDACTED.com:443/meshrelay.ashx

Does this mean I should be able to go to a and web browser and type www.REDACTED.com:443? When I do, I get a Connection Reset in my Firefox browser.

Any help in debugging would be most appreciated!

(I did set debug level 1, but it didn't identify any issue that I can tell)

Note that MeshCentral Router works just fine (and is amazing!)

  • Thanks!,
  • Robert

robclay avatar Feb 14 '21 20:02 robclay

My end goal is to create a batch file that will:

  1. Establish a tunnel to the RDP Port of Computer1 (A specific host)
  2. Start an RDP
  3. Make it really easy for the end user.

Should I be using command line arguments for Mesh Central Router instead of MeshCmd?

robclay avatar Feb 14 '21 20:02 robclay

We did this but couldn't quite automate it. We basically made a connector to a single device over a specific port using the mesh router app. Then we copied the mesh router, the config router file, and rdp to 127.0.0.1:(port) to each device, double click on the config router file, login and then double click on the RDP. We did a walk through of it here, see if it helps.

https://docs.level5mgmt.net/shared_article/31RA3tMagDT5W49ACQSWrrks

Sincerely,

[cid:f7e525ba-21db-48e4-b38b-e0764ae2fa17.jpg] Ben Filippelli CTO Level5 Management p: 561.509.2077 x 311 a: 455 NW 35th St, Boca Raton, FL w: www.level5mgmt.comhttp://www.level5mgmt.com/ e: [email protected]mailto:%7BE-mail%7D [cid:079_sm_fb_d4769f35-474f-4861-a58e-099aa5cfa8d3.png]https://www.facebook.com/level5mgmt [cid:079_sm_in_d8061d26-6e17-45d8-b821-e3b73de5d846.png] https://www.linkedin.com/company/level5mgmt [cid:079_sm_twitter_73f8f4e9-8864-400f-9100-349a7b839898.png] https://www.twitter.com/level5mgmt

Our Success is built on referrals from satisfied clients. Click herehttps://www.level5mgmt.com/referralprogram to get up to $500 per referral!


From: robclay [email protected] Sent: Sunday, February 14, 2021 3:07 PM To: Ylianst/MeshCommander [email protected] Cc: Subscribed [email protected] Subject: Re: [Ylianst/MeshCommander] Invalid Username or Password (#44)

My end goal is to create a batch file that will:

  1. Establish a tunnel to the RDP Port of Computer1 (A specific host)
  2. Start an RDP
  3. Make it really easy for the end user.

Should I be using command line arguments for Mesh Central Router instead of MeshCmd?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FYlianst%2FMeshCommander%2Fissues%2F44%23issuecomment-778834222&data=04%7C01%7Cben%40level5mgmt.com%7C5994dac18b20425c52c208d8d1243aa5%7Cb1363c7f169d4a6281b348e96961b966%7C0%7C0%7C637489300824814876%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=HhIOkNOXlJlfo7n0bgWSerB7oW9dWlFPFVcNOJtpXnw%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAJIW3PEYFLMLIWVE6GCRC6TS7AUR3ANCNFSM4XTRSA3Q&data=04%7C01%7Cben%40level5mgmt.com%7C5994dac18b20425c52c208d8d1243aa5%7Cb1363c7f169d4a6281b348e96961b966%7C0%7C0%7C637489300824824870%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=uXYzqKPZjg5d21a5KdG0sbIZ7A5CsjTQw98hk3M5XD8%3D&reserved=0.

ben71fl avatar Feb 14 '21 20:02 ben71fl

Thank you Ben, if MeshCmd doesn't work, I may try that. Do you know if we can start MeshRouter from the command line using a batch file? - And those are great instructions, by the way!

robclay avatar Feb 15 '21 03:02 robclay

What you can do is call the .mcrouter saved file which should pop up the router app and present login credentials.

the key is to pre-make the connector otherwise the ports are randomized.

Sincerely,

[cid:f7e525ba-21db-48e4-b38b-e0764ae2fa17.jpg] Ben Filippelli CTO Level5 Management p: 561.509.2077 x 311 a: 455 NW 35th St, Boca Raton, FL w: www.level5mgmt.comhttp://www.level5mgmt.com/ e: [email protected]mailto:%7BE-mail%7D [cid:079_sm_fb_d4769f35-474f-4861-a58e-099aa5cfa8d3.png]https://www.facebook.com/level5mgmt [cid:079_sm_in_d8061d26-6e17-45d8-b821-e3b73de5d846.png] https://www.linkedin.com/company/level5mgmt [cid:079_sm_twitter_73f8f4e9-8864-400f-9100-349a7b839898.png] https://www.twitter.com/level5mgmt

Our Success is built on referrals from satisfied clients. Click herehttps://www.level5mgmt.com/referralprogram to get up to $500 per referral!


From: robclay [email protected] Sent: Sunday, February 14, 2021 10:26 PM To: Ylianst/MeshCommander [email protected] Cc: Ben Filippelli [email protected]; Comment [email protected] Subject: Re: [Ylianst/MeshCommander] Invalid Username or Password (#44)

Thank you Ben, if MeshCmd doesn't work, I may try that. Do you know if we can start MeshRouter from the command line using a batch file?

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FYlianst%2FMeshCommander%2Fissues%2F44%23issuecomment-778914184&data=04%7C01%7Cben%40level5mgmt.com%7Ce4b51761af5145210f4608d8d16189e2%7Cb1363c7f169d4a6281b348e96961b966%7C0%7C0%7C637489564152848779%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=tkQ4b2NzB16CNq427YcrFxtU7SfDsWdiTLh0xbfAjNc%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAJIW3PF7UD6XFZGDCHJOUG3S7CH7RANCNFSM4XTRSA3Q&data=04%7C01%7Cben%40level5mgmt.com%7Ce4b51761af5145210f4608d8d16189e2%7Cb1363c7f169d4a6281b348e96961b966%7C0%7C0%7C637489564152848779%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=XW285edtFY0mW2thzCJ7dnGoDo7sqSIU5%2BNqmeHPn%2BY%3D&reserved=0.

ben71fl avatar Feb 15 '21 04:02 ben71fl

Have you seen this: https://github.com/ryanblenis/MeshCentral-RoutePlus ?

Seems this may solve a part of it!

robclay avatar Feb 15 '21 05:02 robclay