• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
TRIGGERcmd
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Cannot run cmd.exe or powershell.exe using TriggerCMD?

General Discussion
2
2
408
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E
    Erik Dominguez
    last edited by Oct 16, 2019, 6:36 PM

    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!

    R 1 Reply Last reply Oct 16, 2019, 11:38 PM Reply Quote 0
    • R
      Russ @Erik Dominguez
      last edited by Russ Oct 16, 2019, 11:39 PM Oct 16, 2019, 11:38 PM

      @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.

      Russell VanderMey

      1 Reply Last reply Reply Quote 0
      2 out of 2
      • First post
        2/2
        Last post