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

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

    Scheduled Pinned Locked Moved General Discussion
    2 Posts 2 Posters 879 Views 1 Watching
    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 Offline
      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 Offline
        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

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