OpenSSH linkable library

Brian Hamon brhamon at cisco.com
Wed Sep 19 07:35:38 EST 2001


One technique that will work is to run ssh as a coprocess, with stdin and 
stdout piped into your main process (similar to popen). The most important 
consequence is that the password prompt will not work correctly (it uses 
the pty directly, rather than stdin/stdout). Password authentication is 
therefore not usable without adding unsavory patches to the OpenSSH source 
code. This limitation is reasonable; however, since an automaton should 
really be using RSA authentication anyway.

At 03:35 PM 9/18/2001, Eric Huss wrote:
>Has anyone considered making a linkable library of the OpenSSH code so
>that one could programatically interact with ssh?  Or is there some other
>method to accomplish this?
>
>Thanks,
>-Eric




More information about the openssh-unix-dev mailing list