Cannot run cmd.exe or powershell.exe using TriggerCMD?
-
Everything else seems to work fine. I am attempting to create a trigger for Windows to automatically ssh into my linux machine with the command "Server shell".
When running from the run menu (Windows + R) I can run cmd.exe, powershell.exe, even run ssh user@10.1.2.3 and it works fine. But from TriggerCMD, it doesn't work at all. So far all other commands have worked.
I have ran TriggerCMD as admin on my box, updated the agent and made sure it has been added to my path.
Im using public/private keys for ssh into the Linux box, so I know its nothing about authentication, all of that has been tested.
Even just making the command for TriggerCMD to be cmd or powershell nets no results in opening a command prompt of any sort.
Is this a limitation of the software or does it sound like something I am noobing up?
I am using the GUI editor and only have 1 laptop utilizing the software.
Thanks!
-
@Erik-Dominguez, I didn't even know Microsoft had added an ssh command to Windows. That's awesome!
Please try prefixing your ssh command with start, like this:
start ssh user@10.1.2.3It worked for me.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login