Re: Are there OpenSSH library coding examples

This is a discussion on Re: Are there OpenSSH library coding examples within the OpenSSH Development forums, part of the Networking and Network Related category; >> On Tue, 23 May 2006, ron flory wrote: >> >>> Hi- >>> >&...


Go Back   Usenet Forums > Networking and Network Related > OpenSSH Development

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-25-2006
ron flory
 
Posts: n/a
Default Re: Are there OpenSSH library coding examples

>> On Tue, 23 May 2006, ron flory wrote:
>>
>>> Hi-
>>>
>>> Apologies in advance if this is off-topic, but I've been
>>> unable to find any coding or usage examples on how to open a
>>> SSH client to a remote server. I'll happily RTFM if I can just
>>> find the FM (!). The client environment is x86 Linux 2.6.x,
>>> the remote SSH servers will be on proprietary embedded devices.

>> It would be nice to offer a SSH client API, but we don't have one
>> yet. libssh.a certainly isn't a client API, just an internal thing
>> for functions shared between the various tools.


Andrew wrote:
> Ron, I might suggest libssh2 [ http://libssh2.sourceforge.net ].
> I haven't used any of their code yet, as I am considering trying to
> hack together a library from the OpenSSH code base.


Thanks for the tip, libssh2 is just what I was looking for...

The API docs are better than most but a simple coding example would
be nice. They have a functional rather than socket interface so one
must make explicit calls to send/rcv data, but if you can work around
that it seems to be quite usable and straight-forward.

Another thing would be nice- merge this lib/API into OpenSSH
(hint, hint) ;)

ron

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
http://www.mindrot.org/mailman/listi...enssh-unix-dev
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:23 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0