Ylianst / MeshCommander

MeshCommander is a Intel(R) Active Management Technology (Intel(R) AMT) remote management tool. It's feature rich and includes a built-in remote desktop viewer for Hardware-KVM, a Serial-over-LAN terminal, IDER-Redirection support and much more. MeshCommander is built on web technologies and runs on many plaforms. In addition to being available as a stand-alone tool, MeshCommander was built to be very space efficient to that it can be uploaded into Intel AMT flash space to have it served diretly from the Intel AMT web serve.
Apache License 2.0
334 stars 72 forks source link

Invalid Username or Password #44

Open robclay opened 3 years ago

robclay commented 3 years ago

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

robclay commented 3 years ago

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?

ben71fl commented 3 years ago

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: ben@level5mgmt.com<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 notifications@github.com Sent: Sunday, February 14, 2021 3:07 PM To: Ylianst/MeshCommander MeshCommander@noreply.github.com Cc: Subscribed subscribed@noreply.github.com 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.

robclay commented 3 years ago

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!

ben71fl commented 3 years ago

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: ben@level5mgmt.com<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 notifications@github.com Sent: Sunday, February 14, 2021 10:26 PM To: Ylianst/MeshCommander MeshCommander@noreply.github.com Cc: Ben Filippelli ben@level5mgmt.com; Comment comment@noreply.github.com 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.

robclay commented 3 years ago

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

Seems this may solve a part of it!