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!news2.google.com!fu-berlin.de!uni-berlin.de!not-for-mail From: "Marc A. Criley" Newsgroups: comp.lang.ada Subject: Re: SSH Sessions ? Date: Tue, 10 Aug 2004 07:58:58 -0500 Message-ID: <2nrv4rF3hamgU1@uni-berlin.de> References: <49dc98cf.0408091032.508f09df@posting.google.com> X-Trace: news.uni-berlin.de /tk6gYjmhfV1U1XFWmdwKgSjCxAfofexCKZHmV42DR/Hs7AMr4 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Xref: g2news1.google.com comp.lang.ada:2648 Date: 2004-08-10T07:58:58-05:00 List-Id: "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