OpenSSH api

Damien Miller djm at mindrot.org
Thu Mar 27 08:34:07 EST 2003


kingstrider wrote:
> Hello:
> 
> I want to use OpenSSH to convert my application that uses telnet into 
> SSH. Currently I have a VB client that communicates with a remote 
> database server using Informix-4GL. This communication is done using a 
> telnet session developed by Winsock api. I need to convert this into 
> SSH. Is there any OpenSSH api/library available that can help me in 
> doing this ( i know u can do it by OpenSSL) 
> 
> For example: instead of     send(Socket, .....,.....);
> 
> i need                               ssl_send(key,...,Socket...)

There is not SSH API at present, you need to open an instance of OpenSSH in a subprocess and use it to do the communication for you. See sftp.c for an example of this.

-d





More information about the openssh-unix-dev mailing list