RE: Username/PublicKey combination invalid

2009-03-23 Thread Mononen Jussi
> maxge...@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

Re: Username/PublicKey combination invalid

2009-03-23 Thread Peter Stuge
maxge...@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 t

Re: Username/PublicKey combination invalid

2009-03-23 Thread maxge...@tiscali.it
Hello Dan, Thanks for your reply. Yes, in "libssh2_userauth_publickey_fromfile_ex" function i've used both keys, private & public, downloading them from the server. I don't know if is required some type of settings before using "libssh2_userauth_publickey_fromfile_ex". after libssh2_useraut

Re: Username/PublicKey combination invalid

2009-03-22 Thread Dan Fandrich
On Fri, Mar 20, 2009 at 03:35:35PM +0100, maxge...@tiscali.it 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