Skip to content

Problems during runtime on Cygwin #43

Description

@bulanula

Hi,

First of all, let me say I appreciate the work that's been put into this unique project; it's quite rare to see such a good, minimalist SSH server.

I'm trying to make use of TinySSH on Windows using Cygwin (using 3.0.7 which is the latest as of today) and despite managing to compile it successfully (no obvious error messages, process completes fully), I'm having some problems in what seems to be the "packet_hello.c" function:

image

I've modified the function a bit (the one with the tick doesn't produce an error while the one with a cross does) to produce some more debug output:

image

This is the output during runtime, which seems garbled:

image

Everything seems good from the client side, as shown by these OpenSSH and PuTTY logs:

image
image

I've not got any good leads to investigate but I believe this could either be a problem caused by Cygwin or perhaps a problem caused by the difference between Linux and Windows line terminators (not sure if the code takes this into account) ?

Many thanks for any assistance !

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions