Search code examples
c#.netunixremotingpsexec

.net - Executing a process in Unix machine from windows mahcine remotely


I am developing a C# application from which I need to execute a process in a Unix machine remotely. How I can do this with either PsExec or Windows Management Instrumentation.


Solution

  • Both WMI and PSExec rely on Windows-specific APIs and services. Look at Secure Shell (ssh) instead. See C# Library for SSH and Telnet or SSh client in C# .net for C# libraries for using SSH.