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

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

    General Discussion
    2
    2
    379
    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.
    • Erik DominguezE
      Erik Dominguez
      last edited by

      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!

      RussR 1 Reply Last reply Reply Quote 0
      • RussR
        Russ @Erik Dominguez
        last edited by Russ

        @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
        • First post
          Last post