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

Re: [libssh2] libssh2-0.15 Problems authenticating

From: Guenter Knauf <eflash_at_gmx.net>
Date: Wed, 18 Jul 2007 14:04:59 +0200

Hi all,
Paul brought here up that password authentication with the ssh2.c sample permanently fails for him.
At fist I couldnt re-create that, probably because I tested against older openssl versions:

> What version of openssh does your linux box run that you are connecting too?
> Mine's using openssh-4.5_p1-r1. And what distro and release are you
> running? Redhat? Mandriva? Suse? *buntu? And what version?
I used:
SuSE 7.0 --> SSH Version OpenSSH_2.1.1, protocol versions 1.5/2.0
NetWare 6.5 --> OpenSSH_3.7.1p2, SSH protocols 1.5/2.0, OpenSSL 1.8.2.0 18 Nov 2004

after Paul sent me credentials to test against his box I saw same failing as he,
and then tested against some boxes which run newer openssl, f.e.:
SuSE 10.0 --> OpenSSH_4.1p1, OpenSSL 0.9.7g 11 Apr 2005
 
and there I also saw the authentication fail.

On the way to find out what causes this difference I inserted a check into ssh2.c to see what authentication methods are allowed:
http://libssh2.cvs.sourceforge.net/libssh2/libssh2/example/simple/ssh2.c?r1=1.6&r2=1.7

but now when I compile the ssh2 sample with this code it allways fails -- even against the boxes where the auth previously seemed to work! What am I doing wrong? Or what's going on there....?

Guen.

-------------------------------------------------------------------------
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-18