Subject: Re: Help needed

Re: Help needed

From: sandeep patra <kernel32.dll1981_at_gmail.com>
Date: Sun, 24 Jan 2010 16:39:21 +0530

Small update from my side:

I am using gentoo system, where i am unable to authenticate by my own
system.
I tested the same piece of code on redhat, I was able to authenticate.
Moreover from my gentoo system i am able to authenticated by redhat system
also.

Is the problem related to the OS ?

On Sun, Jan 24, 2010 at 4:13 PM, sandeep patra
<kernel32.dll1981_at_gmail.com>wrote:

> Hi,
> I am new to this mailing list and 2 days back. I have downloaded libssh2
> 1.2.2 <http://www.libssh2.org/download/libssh2-1.2.2.tar.gz> from
> http://www.libssh2.org/.
> I have also downloaded few test programs. I have tried two test programs
> "x11.c" and "ssh2_blocking.c" on my system but failed to successed.
>
> problem with x11.c is "libssh2_userauth_password(session, username,
> password);" returns me -1. irony is if i use ssh hostname -l username then
> password it works. but not with the code.
>
> problem with ssh2_blocking.c is that it fails in the "connect" call.
>
>
> Is something I am missing here?
> Kindly help me.
>
> Thanks and Regards,
> Sandeep Kumar Patra
>

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-01-24