Visitar URL original
ssh from docker container on arm64 macos ventura to same mac (docker host) fails, ERROR: SSH handshake failed. · Issue #1313 · libssh2/libssh2 · GitHub
Skip to content

ssh from docker container on arm64 macos ventura to same mac (docker host) fails, ERROR: SSH handshake failed. #1313

Open

Description

@sdetweil

Describe the bug
A clear and concise description of what the bug is.

I am using apache guacamole, in a docker container, built from here
https://github.com/jwetzell/docker-guacamole

with an ssh connection defined to connecto this same mac.

I added ping and the ssh client to the docker image and can exec in and ping and command line ssh to the docker host without issue,
so its not a connection issue. there was a problem before 1.11 with aes-gcm on macos..
changelog
Adds support for AES-GCM crypto protocols

connect from an AMD64 to and AMD docker host (same machine) works ok..

To Reproduce

build a docker container for arm64, macos sonoma 14.0
http access the docker mapped guacamole port , login , use settings to create an ssh connection to this same mac.
exit setting, the click on the ssh connection you just made, tries to connect, then fails

the guacamole log presents the error above.

A recipe or example code that reproduces the problem? A stack trace from a crash

Expected behavior
expect ssh session to work

Version (please complete the following information):

  • OS and version: [e.g. iOS, macOS, Windows, Linux (distro)]
    macos sonoma arm (m1 processor) v 14.0
  • libssh2 version: [e.g. 1.10.0]
    libssh 1.11.0
  • crypto backend and version: [OpenSSL, mbedTLS, Libgcrypt, LibreSSL, WinCNG, OS400, wolfSSL, None]
    uses openssl

see Dockerfile.arm from repo linked above

Additional context
Add any other context about the problem here.

Activity

  1. rmsh1216 commented on Mar 30, 2024

    @rmsh1216
    Contributor

    Can you provide the error log? Or you can see the log of the server (such as sshd) to analyze the cause.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions