[Mono-list] mono:: Remote command Execution
Bhushand
bhushand at gmail.com
Wed May 6 22:22:02 EDT 2009
Thanks Robert
How to retrieve the output this process.
and will this work with normal user account.?
Robert Jordan wrote:
>
> 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",
> "user at host -c 'the linux command'"
> )
> );
>
> ;)
>
> Robert
>
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
>
--
View this message in context: http://www.nabble.com/mono%3A%3A-Remote-command-Execution-tp23402222p23419117.html
Sent from the Mono - General mailing list archive at Nabble.com.
More information about the Mono-list
mailing list