# Trigger CLI command on user's PC

**URL:** <https://discourse.nodered.org/t/trigger-cli-command-on-users-pc/63491>\
**Category:** General\
**Created:** [5 June 2022 20:34 UTC](https://discourse.nodered.org/t/trigger-cli-command-on-users-pc/63491 "2022-06-05T20:34:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![CBianca](https://avatars.discourse-cdn.com/v4/letter/c/d2c977/32.png) [@CBianca](https://discourse.nodered.org/u/CBianca)\
**Post date:** [5 June 2022 20:34 UTC](https://discourse.nodered.org/t/trigger-cli-command-on-users-pc/63491/1 "2022-06-05T20:34:03Z")

</div>

Hello guys!

I have a question about the possibility of an implementation, I just want a direction so I can dig more into that.

I have my node-red server on my laptop. Let's say another user from another laptop connects to my server, more specifically he sees the UI. Is there a program(or anything else?) I can use so that my server can trigger an action on his pc, like running a script he already has?

Something like an exec node but on his part 🙂

Thank you very much!

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [5 June 2022 21:38 UTC](https://discourse.nodered.org/t/trigger-cli-command-on-users-pc/63491/2 "2022-06-05T21:38:33Z")

</div>

That would be a serious breach of security. That said, it is not impossible depending on many factors. For example, you could trigger psexec on a window box or call to an ssh terminal to run something. Of course this would be far easier if the user had node-red running on their machine where an endpoint could be called.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [4 August 2022 21:39 UTC](https://discourse.nodered.org/t/trigger-cli-command-on-users-pc/63491/3 "2022-08-04T21:39:07Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
