Subject: Re: [libssh2] libssh2-0.15 Problems authenticating

Re: [libssh2] libssh2-0.15 Problems authenticating

From: Paul Thomas <thomaspu_at_gmail.com>
Date: Thu, 19 Jul 2007 22:54:36 -0400

Ok, I updated my code and re-ran it and I can walk through it with my
debugger and now it just dies at keyboard authentication. I do not
understand how keyboard authentication is supposed to work and the
documentation doesn't shed any light on this at all. Does that keyboard
callback function need to be re-written or something?

ssh2 123.45.67.8 testuser testpass -p

with my IP, username and password filled in doesn't work. Fails to
authenticate.

This is confusing.
Paul

On 7/19/07, Guenter Knauf <eflash_at_gmx.net> wrote:
>
> Hi Paul,
> > Alright, you should find the ssh account details in your inbox. I'll be
> > interested to hear your results.
> the problem is that your box doesnt support the 'password' method which
> was the hardcoded default with ssh2.c. I've now modified ssh2.c so that it
> gets the list of supported auth methods, and depending on that it selects:
> password
> keyboard-interactive
> public-key
>
> in this order if the ssh server supports them;
> so with your server the ssh2 sample should then use
> 'keyboard-interactive'.
> You can also force these methods with a 4. argument:
> ssh2 123.45.67.8 testuser testpass -p (password)
> ssh2 123.45.67.8 testuser testpass -i (keyboard-interactive)
> ssh2 123.45.67.8 testuser testpass -k (public-key)
>
> please update from CVS, and try again if you can now authenticate; for me
> it works now also with those boxes where I could see same issue before as
> you saw. Remember to use the ip, and no hostname.
>
> greets, Guen.
>
>
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

_______________________________________________
libssh2-devel mailing list
libssh2-devel_at_lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel
Received on 2007-07-20