Executing Unix commands on a remote host using C
From: Bader (baderA_at_gmail.com)
Date: 09/28/05
- Next message: usenet_at_sta.samsung.com: "POSIX based Timer class, occasional crash"
- Previous message: Gordon Burditt: "Re: Mapping error codes to error messages"
- Next in thread: Pascal Bourguignon: "Re: Executing Unix commands on a remote host using C"
- Reply: Pascal Bourguignon: "Re: Executing Unix commands on a remote host using C"
- Reply: SM Ryan: "Re: Executing Unix commands on a remote host using C"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: usenet_at_sta.samsung.com: "POSIX based Timer class, occasional crash"
- Previous message: Gordon Burditt: "Re: Mapping error codes to error messages"
- Next in thread: Pascal Bourguignon: "Re: Executing Unix commands on a remote host using C"
- Reply: Pascal Bourguignon: "Re: Executing Unix commands on a remote host using C"
- Reply: SM Ryan: "Re: Executing Unix commands on a remote host using C"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|