Is there a way to run remote commands in a windows system just like you can in Linux using the "ssh -c" command.
Thanks!
Autobyte
|
Is there a way to run remote commands in a windows system just like you can in Linux using the "ssh -c" command. Thanks! Autobyte
| |||
|
feedback
|
|
PSTools PSExec can do exactly that! :) http://technet.microsoft.com/en-us/sysinternals/bb896649.aspx | |||||
feedback
|
|
You can uses powershell remoting. Psexec often gets blocked by antivirus. Powershell remoting would be the most reliable way of performing remote commands. | |||
|
feedback
|
|
I have Cygwin installed on most of my Windows machines. With it's OpenSSH port you can use If you don't want anything else that Cygwin offers copssh seems a popular alternative - it is basically just the OpenSSH port and its dependences extracted from Cygwin. The pstools set (already mentioned by northirid in an earlier answer) are easier to setup if windows->windows is all you need but actually having a SSH service is very handy if you need a little more. | ||||
|
feedback
|
|
The beauty of PSexec is that it executes and if required, copies the files to run on the destination system and can use any credentials | |||
|
feedback
|
|
From Unix / Linux, you have :
| |||
|
feedback
|