ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Remote Login for Windows

    Scheduled Pinned Locked Moved IT Discussion
    9 Posts 5 Posters 532 Views
    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.
    • LakshmanaL
      Lakshmana
      last edited by Lakshmana

      I am having machine A which have script in it.where i need to run a machine A script from machine B with .bat or Powershell and mail the details to Machine B user.Is this possible ?

      Aim : Remote Login from Windows to Windows without RDP or MSTSC only through SSH initiate the process and mail the Excel file details from the Machine A.(Windows to Windows Environment As of now)

      Its possible ??

      travisdh1T 1 Reply Last reply Reply Quote 0
      • travisdh1T
        travisdh1 @Lakshmana
        last edited by

        @lakshmana That should be super easy.

        ssh user@machineA /path/to/my/script.bat >> /user/my user/output.txt
        scp user@machineA:/user/my user/output.txt
        

        You'll have to figure out the exact details yourself, but those two commands should be all you need.

        1 Reply Last reply Reply Quote 1
        • LakshmanaL
          Lakshmana
          last edited by

          Ssh service can be enabled from Windows feature?

          travisdh1T scottalanmillerS 2 Replies Last reply Reply Quote 0
          • travisdh1T
            travisdh1 @Lakshmana
            last edited by

            @lakshmana said in Remote Login for Windows:

            Ssh service can be enabled from Windows feature?

            Which version of Windows is it. I don't think it's call ssh in the features list: here we go.
            https://ittutorials.net/microsoft/windows-10/enable-ssh-windows-10-command-prompt/

            1 Reply Last reply Reply Quote 0
            • LakshmanaL
              Lakshmana
              last edited by

              I have tried the link whether the Developer mode should be enabled for installing the OpenSSH.OS installed is Windows 10 in both the machine

              1 Reply Last reply Reply Quote 0
              • scottalanmillerS
                scottalanmiller @Lakshmana
                last edited by

                @lakshmana said in Remote Login for Windows:

                Ssh service can be enabled from Windows feature?

                Yes, it is part of Windows now.

                1 Reply Last reply Reply Quote 0
                • black3dynamiteB
                  black3dynamite
                  last edited by

                  You can't use PowerShell to achieve this?

                  travisdh1T 1 Reply Last reply Reply Quote 0
                  • travisdh1T
                    travisdh1 @black3dynamite
                    last edited by

                    @black3dynamite said in Remote Login for Windows:

                    You can't use PowerShell to achieve this?

                    You probably could, but I know the ssh off the top of my head and barely know powershell remoting. The SSH way should work so long as it's installed on both machines.

                    1 Reply Last reply Reply Quote 0
                    • thwrT
                      thwr
                      last edited by

                      PSRemoting is another built in way.

                      1 Reply Last reply Reply Quote 2
                      • 1 / 1
                      • First post
                        Last post