Can't connect to Windows 2019 Server via SSH

My configuration looks like this:

Gitlab 12.3.5 CE runs on a Debian, Windows 2019 with OpenSSL and an installed Gitlab runner.

Since the newer Windows 2019 versions are delivered with optional OpenSSL, the connection via SSH is possible without any problems (tested via console).

The .gitlab-ci.yml is quite simple:

  - test

  stage: test
    - echo "hello"
    - ssh-windows-server

The config.toml contains the following:

  name = "SSH Access Windows Server"
  url = ""
  token = "_token_"
  executor = "ssh"
    user = "username"
    password = "pass"
    host = "ip"
    port = "22"

If I run the pipeline I get the following error:

The command "$'bash'" is either misspelled or could not be found.

For the sake of completeness the German error message:

Der Befehl "$'bash'" ist entweder falsch geschrieben oder konnte nicht gefunden werden.

I wonder why the SSH connection fails, although it is not a problem via console. Are there other ways to debug the connection?

I am grateful for any help.

Bump :arrow_double_up: