Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sdetweil opened this issue Jan 23, 2024 · 1 comment

Comments

@sdetweil
Copy link

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.

@rmsh1216
Copy link
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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants