Subject: Re: Username/PublicKey combination invalid

Re: Username/PublicKey combination invalid

From: Dan Fandrich <>
Date: Sun, 22 Mar 2009 21:35:55 -0600

On Fri, Mar 20, 2009 at 03:35:35PM +0100, wrote:
> When i use
> "libssh2_userauth_publickey_fromfile_ex" in libssh2, i ever receive an
> "Username/PublicKey combination invalid" although the private keyfile
> is right, infact when i using it with ssh.exe and with plink I will not
> be any problem.

Are you setting both the private and public keyfile correctly? libssh2
needs both set to work properly.

>>> Dan

--              The web change of address service
          Let webmasters know that your web site has moved
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial.
libssh2-devel mailing list
Received on 2009-03-23