Executing Unix commands on a remote host using C

From: Bader (baderA_at_gmail.com)
Date: 09/28/05


Date: 28 Sep 2005 12:08:31 -0700

How can I implement the following in C/C++:
1. Create a sub-process to start an SSH session to a remote host
2. Then using the created session within my program I need to
issue/send multiple commands to the remote host to run different
programs.

In particular I don't know how to send multiple commands using the same
SSH session (sub-process already created) in 1.

Thanks



Relevant Pages