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.3
It worked for me.