Closed JetpackDuba closed 1 year ago
Thanks for digging in. This issue is weird! My theory is that the ssh_message_reply_default
implementation that gets compiled in WITH_SERVER
makes the difference here; most of the rest of the code in the added files seems like it wouldn't have an impact on anything.
Not really sure, unfortunately I'm not familiar with libssh, but seems possible. Shouldn't the server methods be available in case someone wants to implement SSH from the server side?
The linting has failed so I've pushed one more change to fix it.
Fixes issue #18.
Quoting myself:
The
GLOBAL_BIND_CONFIG
flag value ("/etc/ssh/libssh_server_config"
) was copied from CMake default config, as it was required for theWITH_SERVER
flag. Also note thatbind_config.c
wasn't necessary when building on Linux but it was on Windows.