Subject: Re: ssh2_exec.c does not support keyboard-interactive, intentional?

Re: ssh2_exec.c does not support keyboard-interactive, intentional?

From: Peter Stuge <peter_at_stuge.se>
Date: Mon, 19 Apr 2010 01:49:48 +0200

Eric Tung wrote:
> The attached patch is against libssh2-1.2.5; with it I was able to
> run a command on my target system.

I don't think that blindly sending out the password is setting a good
example.

--8<-- RFC 4256 SSH Generic Interactive Authentication
3.3. User Interface

   Upon receiving a request message, the client SHOULD prompt the user
   as follows:

   A command line interface (CLI) client SHOULD print the name and
   instruction (if non-empty), adding newlines. Then, for each prompt
   in turn, the client SHOULD display the prompt and read the user
   input.

-->8--

//Peter
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-04-19