I have a command line secure shell program and I would like to write my
own program to interact with it. I would like to perform both reading
and writing to the secure shell program. Could someone tell me the
best way to do this?

Thank you.

Re: command line secure shell by Igor

Igor
Tue Jun 06 16:08:18 CDT 2006

mike7411@gmail.com wrote:
> I have a command line secure shell program and I would like to write
> my own program to interact with it. I would like to perform both
> reading and writing to the secure shell program. Could someone tell
> me the best way to do this?

I don't quite understand your question. It appears that you want to run
a process and redirect its standard input and output streams. If so, see

http://msdn.microsoft.com/library/en-us/dllproc/base/creating_a_child_process_with_redirected_input_and_output.asp

--
With best wishes,
Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925