Subject: Re: [libssh2] libssh2-0.15 Problems authenticating

Re: [libssh2] libssh2-0.15 Problems authenticating

From: Paul Thomas <thomaspu_at_gmail.com>
Date: Sun, 15 Jul 2007 21:49:41 -0400

Ok, I just checked out the current CVS version and rebuilt libssh2 with it.
I still ran into the problem of not being able to compile the library out of
the box. MSVC 2005 does not define theses two types:
 ssize_t
 uint32_t

I had to typdef them in under the noted spot in my first post.

Just curious, but is there any reason that the win32 build is centered
around VS 6.0 instead of VS 2005? I can add my solution and project files if
it would help. The only thing a user would have to do is point the project
to the right spot for their zlib and openssl items.

I'm still not able to get the example to authenticate. Authentication by
password fails everytime. Has anyone else gotten this to work?

Thanks,
Paul

On 7/15/07, Guenter Knauf <eflash_at_gmx.net> wrote:
>
> Hi Paul,
>
> > 1) On windows with visual studio 2005, the project doesn't compile, but
> I
> I've just few minutes ago fixed the project files; please use CVS code;
> however the project files might still need some switch tweaks, please test
> and report back here.
>
> > was able to fix it so that id did. The solution ended up being adding
> two
> > typdefs under the #else section of the _MSC_VER ifdefs in the
> > libssh2.hfile. In other words this:
> this is already fixed in CVS for some days - please use CVS, or at least
> latest snapshot.
>
> please fetch latest CVS code, f.e. you can use a batch file like that:
>
> @echo off
> echo [ press enter when prompted for password ]
> cvs -d :pserver:anonymous_at_libssh2.cvs.sourceforge.net:/cvsroot/libssh2
> login
> cvs -z3 -d :pserver:anonymous_at_libssh2.cvs.sourceforge.net:/cvsroot/libssh2
> co -P libssh2
>
> or use Tortoise CVS - the SF site explains how to use that.
>
> regarding your other issues I would suggest that you please retry with
> latest sources,
> and if you still see same then just drop a note that the issue isnt
> solved.
>
> thanks, Guenter.
>
>
>

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

_______________________________________________
libssh2-devel mailing list
libssh2-devel_at_lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel
Received on 2007-07-16