[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fwd: Need help on creating an ssh server on Windows


On Wednesday 15 January 2014 22:47:19 Erman wrote:
> Hi,

Hi,

> I've been trying something not trivial, which is creating an ssh-server in
> C++ by using libssh library.
> I managed to cover basics including creating a child process to execute
> commands coming to socket's file descriptor, however I could not understand
> the ssh_event_dopoll call and its purpose. In addition, my ssh client on a
> linux box hangs and I could not start a bash that taking inputs and writing
> to the channel. I kinda guess that I need to notify client to start an
> input bash (correct me if I'm wrong, since the lack of documentation, I'm
> working on assumptions).
> 
> Can somebody give me an overview on what I might have been missing.
> 
> Thanks,


Did you look at examples/samplesshd-cb.c?


-- 
Andreas Schneider                   GPG-ID: CC014E3D
www.cryptomilk.org                asn@xxxxxxxxxxxxxx


References:
Fwd: Need help on creating an ssh server on WindowsErman <ermandoser@xxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org