comp.lang.ada
 help / color / mirror / Atom feed
From: Andreas Almroth <andreas_NOXSPAM@almroth.com>
Subject: Re: SSH Sessions ?
Date: Wed, 11 Aug 2004 07:57:59 +0100
Date: 2004-08-11T07:57:59+01:00	[thread overview]
Message-ID: <2ntuc3F4e2rvU1@uni-berlin.de> (raw)
In-Reply-To: <49dc98cf.0408091754.b7e53e1@posting.google.com>

Chris Humphries wrote:
> Georg Bauhaus <sb463ba@l1-hrz.uni-duisburg.de> wrote in message news:<cf8iab$qav$1@a1-hrz.uni-duisburg.de>...
> 
>>Chris Humphries <chris@unixfu.net> wrote:
>>:   Has anyone written or have a way to do SSH sessions via ADA?
>>: 
> 
> I was told I could use C libraries and call methods from them from
> within ADA. Is this true, and if so, could I use the existing 
> openssl/openssh libraries to implement SSH in ADA? That seems like
> too much work and why not just use Perl (best tool for the job/time?).
> 

Calling C API is generally not a problem if properly done.
To answer your question; As there is no, to my knowledge, API to SSH, 
you will either first have to write a binding to OpenSSL, or try to 
re-use the SSL part of AWS, and then code the SSH functionality on top. 
This would be really something nice for the Ada community though, but 
perhaps a bit too much to ask for.

The other way is to call the ssh client using either system or pipes, as 
  the other messages in this thread points out. I think this might be 
the way that Perl and Java does it.

/Andreas





  parent reply	other threads:[~2004-08-11  6:57 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-09 18:32 SSH Sessions ? Chris Humphries
2004-08-09 19:12 ` Georg Bauhaus
2004-08-10  1:54   ` Chris Humphries
2004-08-10  2:49     ` Stephen Leake
2004-08-11  6:57     ` Andreas Almroth [this message]
2004-08-10  4:32   ` Adam Ruth
2004-08-10 12:58     ` Marc A. Criley
2004-08-11 13:35       ` Chris Humphries
2004-08-13 11:48       ` Using Jim Rogers' "Ada Binding to Pipes"? (Was: SSH Sessions?) Jacob Sparre Andersen
2004-08-13 17:44         ` Marc A. Criley
2004-08-14 18:45           ` James E. Hopper
2004-08-17 15:29             ` Using Jim Rogers' "Ada Binding to Pipes"? Jacob Sparre Andersen
2004-08-18  1:15               ` James E. Hopper
2004-08-16 16:28           ` Using Jim Rogers' "Ada Binding to Pipes"? (Was: SSH Sessions?) Anh_Vo
2004-08-17 15:28             ` Jacob Sparre Andersen
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox