Subject: RE: Username/PublicKey combination invalid

RE: Username/PublicKey combination invalid

From: Mononen Jussi <>
Date: Mon, 23 Mar 2009 11:45:40 +0200

> wrote:
> > "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.
> Maybe double check the file format. Different SSH implementations do
> not neccessarily use the same format to store private and public
> keys.
> OpenSSH keys are not the same as PuTTY keys, for example.
> Does libssh2 use the OpenSSH file format?

Yes it does. And OpenSSH format is not compatible with SECSH format. At
least OpenSSH cmd line tools can convert keys between these formats.



perl -e '$@=[[0,0112,0,0],[0,0101,0,0],
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