Remote Login for Windows
-
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 ??
-
@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.
-
Ssh service can be enabled from Windows feature?
-
@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/ -
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
-
@lakshmana said in Remote Login for Windows:
Ssh service can be enabled from Windows feature?
Yes, it is part of Windows now.
-
You can't use PowerShell to achieve this?
-
@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.
-
PSRemoting is another built in way.