Subject: Re: Help needed

Re: Help needed

From: sandeep patra <>
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
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

Is the problem related to the OS ?

On Sun, Jan 24, 2010 at 4:13 PM, sandeep patra

> Hi,
> I am new to this mailing list and 2 days back. I have downloaded libssh2
> 1.2.2 <> from
> 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

Received on 2010-01-24