By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,389 Members | 1,844 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,389 IT Pros & Developers. It's quick & easy.

writing SSH client

P: n/a
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
Jul 23 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
sam wrote:
I would like to implement a ssl client (with C++ API) to communicate
with a unix system sshd server.


Uh, wouldn't plugging in an Open Source one be a little easier?

http://www.openssh.com/

--
Phlip
http://industrialxp.org/community/bi...UserInterfaces
Jul 23 '05 #2

P: n/a
sam
Phlip wrote:
sam wrote:

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

Uh, wouldn't plugging in an Open Source one be a little easier?

http://www.openssh.com/

how would you integrate openssh with your own application?

Thanks
Sam
Jul 23 '05 #3

P: n/a
sam wrote:

Phlip wrote:
sam wrote:

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

Uh, wouldn't plugging in an Open Source one be a little easier?

http://www.openssh.com/

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 :-)

--
Karl Heinz Buchegger
kb******@gascad.at
Jul 23 '05 #4

P: n/a
sam
Karl Heinz Buchegger wrote:
sam wrote:
Phlip wrote:

sam wrote:

I would like to implement a ssl client (with C++ API) to communicate
with a unix system sshd server.
Uh, wouldn't plugging in an Open Source one be a little easier?

http://www.openssh.com/


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 :-)


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
Jul 23 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.