Subject: Re: client-side only vs. libssh?

Re: client-side only vs. libssh?

From: Lawson <>
Date: Fri, 22 Jan 2010 14:30:04 -0800 (PST)

OK, thanks...

In case I wasn't clear it was the other library (libssh) that had the blocking issues.

I probably won't be allowed (by work) the time to do the server side. However one thing I might be interested in is adding the capability of using the NSPR socket library as the base socket for libssh2.

What that would give is the ability to make the ultimate socket library, capable of doing plain, SSL, and SSH sockets all of which use the same underlying base type, for the sake of reuse and stability (it is also highly portable)

--- On Fri, 1/22/10, Daniel Stenberg <> wrote:

> From: Daniel Stenberg <>
> Subject: Re: client-side only vs. libssh?
> To: "libssh2 development" <>
> Date: Friday, January 22, 2010, 12:25 PM
> On Fri, 22 Jan 2010, Lawson wrote:
> > I have been working with libssh for a while and was
> looking to switch over to libssh2, primarily because of the
> claims that libssh2 can do all things in a non-blocking
> style (I have run into some blocking issues with libssh)
> plus I no longer have a requirement to support SSHv1.
> If libssh2 can't do everything non-blocking, it would be a
> bug we should fix. But I'm not aware of anything particular
> in that way right now.
> > However I am now realizing that libssh2 may only be a
> client-side library. Is this still true?  If so, you
> need to be way more upfront about that.  It is not
> obvious from the description on the website.
> It is true and I've updated the front page of the site to
> make it more obvious.
> We wouldn't object to make it do server-side too of course,
> and I've heard a few people in the past express interest to
> work on that. But unfortunately we haven't yet seen any work
> towards that. Would you be interested to work on it?
> > Especially in your "comparison against libssh" because
> that one does server-side also.
> I didn't know it did. I'll update the comparison as well!
> > Are these two the only choices for an SSH library
> (with a decent API) ?
> To my knowledge these two are the only free and open SSH
> libraries that are written in C, yes.
> --
> /
> _______________________________________________
> libssh2-devel

Received on 2010-01-22