Subject: RE: Issues with using LibSSH2

RE: Issues with using LibSSH2

From: Kalyan Polasi <kalyan.polasi_at_netenrich.com>
Date: Wed, 31 Mar 2010 11:22:13 -0700

Hello daniel/team,

Could you please suggest me the current working version for port-forwarding?

or can you help me with the simple example to connect to other machine using Libssh2?

I was also not able to make use of libssh2_session_init(). Can you please tell me why I does I am getting that linker error?

Any help on this is highly appreciable.

Regards
Kalyan Polasi

________________________________________
From: libssh2-devel-bounces_at_cool.haxx.se [libssh2-devel-bounces_at_cool.haxx.se] On Behalf Of Daniel Stenberg [daniel_at_haxx.se]
Sent: Wednesday, March 31, 2010 9:02 PM
To: libssh2 development
Subject: Re: Issues with using LibSSH2

On Wed, 31 Mar 2010, Kalyan Polasi wrote:

> We tried to compile the LIBBSSH2 source code of the version 2-0.9, which we
> are able to do it successfully after adding the external libraries from
> OpenSSL and zLib.

I assume you mean libssh2 version 0.9 ? That's a very old version we really
cannot recommend anyone to use.

> Now we have release version libssh2.lb file.

I don't know what version that is. I recommend using version 1.2.4 or trying
the git version.

> After that we tried to start with the example "direct_tcpip.c" which is
> available in the site.

You're better off using the example from the release archive for your version.
The version on the site is the current development version and right now that
means the examples don't quite work with (older) releases.

> 1. If I try to call the function "libssh2_init(0);", I am getting the below
> error

This function was recently added and does not exist in libssh2 version 1.2.4
or earlier, but will exist in 1.2.5 and future releases.

--
  / daniel.haxx.se
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
-------------------------------------------------- 
Confidentiality And Disclaimer Notice 
Please do not print this email unless it is absolutely necessary. The
information contained in this electronic message and any attachments to this
message are intended for the exclusive use of the addressee(s) and may contain
proprietary, confidential or privileged information. If you are not the intended
recipient, you should not disseminate, distribute or copy this e-mail. Please
notify the sender immediately and destroy all copies of this message and any
attachments. WARNING: Computer viruses can be transmitted via email. The
recipient should check this email and any attachments for the presence of
viruses. The company accepts no liability for any damage caused by any virus
transmitted by this email. &hellip;&hellip;www.netenrich.com 
-------------------------------------------------
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-03-31