Bhushand wrote:
> Hello, 
> 
> I want to execute the linux command on remore machine using C# and mono. How
> can i achive this?

using System.Diagnostics;

..

Process.Start(
        new ProcessStartInfo(
                "/usr/bin/ssh",
                "u...@host -c 'the linux command'"
        )
);

;)

Robert

_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to