Subject: RE: Username/PublicKey combination invalid

RE: Username/PublicKey combination invalid

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

> maxgeppi_at_tiscali.it 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.

Br,

/jUSSi

--
perl -e '$@=[[0,0112,0,0],[0,0101,0,0],
[0,0120,0,0],[0,0110,0,0]];$[=256/8-0x1D;
print(chr(@{$_}[+($[+1-1+1)]))for(@{$@});' 
------------------------------------------------------------------------------
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. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
libssh2-devel mailing list
libssh2-devel_at_lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel
Received on 2009-03-23