writing SSH client

S

sam

Hi


I would like to implement a ssl client (with C++ API) to communicate
with a unix system sshd server.

Can anyone please tell me a guideline or an example for doing so?
I found TAO has SSL API, but not sure whether it is a good choice.

I m very appreciate for your help

Thanks
Sam
 
K

Karl Heinz Buchegger

sam said:
how would you integrate openssh with your own application?

By searching their web site for the possibility of downloading
a development version (which usually means: source code).
Once you have that source code you might want to study their code
to see how it works and how you can isolate and plug in parts of it.
Also running a few of their tools under a debugger is often a good
idea to get a grasp of what to do in which order.

Just the normal procedures to incorporate code written by others
into your project :)
 
S

sam

Karl said:
By searching their web site for the possibility of downloading
a development version (which usually means: source code).
Once you have that source code you might want to study their code
to see how it works and how you can isolate and plug in parts of it.
Also running a few of their tools under a debugger is often a good
idea to get a grasp of what to do in which order.

Just the normal procedures to incorporate code written by others
into your project :)

This is a very common protocol which could have been done by someone
else in the open source community. If there is no such lib available as
open source, I would be very surprised. Anyway, I will leave this for
the time being, and use popen/execlp to execute openssh client instead.

Thanks
Sam
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,202
Messages
2,571,057
Members
47,664
Latest member
RoseannBow

Latest Threads

Top