[Libssh] Windows, samplesshd

Keisial keisial at gmail.com
Sun Mar 2 00:38:48 CET 2008


Hello everyone.
First of all i wanted to congratulate you for this piece of software.
I have looked for something like this for some time now.
I just wanted a server protocol which could be run on windows,
but other ssh projects have lots of login code intermixed and unixy 
functions.

On the other hand i managed to compile libssh on windows in a few hours. 
I will
contribute you the (really simple) changes when i get it completely 
working.
Specially now that i read the faq and saw you *wanted it* (btw the link 
to the
0.11 patch is broken).

Noww, when testing the resulting server code, it didn't work. Seemed that
session->alive wasn't never set. Odd, as it isn't related to the porting.
So i went to a Linux box, compiled the original libssh-0.2 
<http://0xbadc0de.be/libssh/libssh-0.2.tgz> and sure enough, it also
failed with "ssh_accept : Remote host closed connection"

Am i missing something obvious? Is the samplesshd at libssh-0.2.tgz 
really broken? <http://0xbadc0de.be/libssh/libssh-0.2.tgz>
What should i do to fix it? Perhaps you have a better version at a 
repository?

Best regards




More information about the Libssh mailing list