From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,59ec34bfa2373410 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews2.google.com!not-for-mail From: chris@unixfu.net (Chris Humphries) Newsgroups: comp.lang.ada Subject: Re: SSH Sessions ? Date: 11 Aug 2004 06:35:37 -0700 Organization: http://groups.google.com Message-ID: <49dc98cf.0408110535.5577c20d@posting.google.com> References: <49dc98cf.0408091032.508f09df@posting.google.com> <2nrv4rF3hamgU1@uni-berlin.de> NNTP-Posting-Host: 66.197.191.126 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1092231338 26594 127.0.0.1 (11 Aug 2004 13:35:38 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 11 Aug 2004 13:35:38 +0000 (UTC) Xref: g2news1.google.com comp.lang.ada:2668 Date: 2004-08-11T06:35:37-07:00 List-Id: Thank you everyone. You have been very helpful :) "Marc A. Criley" wrote in message news:<2nrv4rF3hamgU1@uni-berlin.de>... > "Adam Ruth" wrote: > > > I'm doing this very thing myself, and I'm just using the command line > > version of ssh. I execute it using the system call (the c library > > system(const char *command) call). It's pretty straight forward, since > > I don't need to do much that's complicated, just execute a remote > > command line program as though it was being executed on my local command > > line. > > Just want to reacquaint everyone about the existence of Jim Rogers' "Ada > Binding to Pipes" (http://www.adapower.com/reuse/pipes.html). You can issue > a command and all the output is caught and easily read back in for > post-processing. > > It's incredibly easy to use, effective and reliable, and I use it almost > exclusively whenever I need to issue commands from within an Ada program. > Works great, highly, highly recommended. (Thanks Jim!) > > Marc A. Criley > McKae Technologies > www.mckae.com