It works :)
Indeed, my host keys were missing.
Thank you very much
Le 21/12/2011 14:46, voker57 a écrit :
On Wed, Dec 21, 2011 at 12:24:55PM +0100, Anthony VEREZ wrote:
Hello,
I would like to use libssh to create a simple SSH honeypot.
I installed libssh with the debian packages : libssh-0.5.2
I compiled the samplesshd example with :
$ gcc samplesshd.c -o samplesshd -lssh
But when I want to execute it :
# ./samplesshd
error accepting a connection : Could not create BIO.
What am I doing wrong ?
Regards
Check if you have read access to host keys.