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

Connecting with JSch broken for alpine #311

Open
kevin-yee-finix opened this issue Mar 11, 2022 · 2 comments
Open

Connecting with JSch broken for alpine #311

kevin-yee-finix opened this issue Mar 11, 2022 · 2 comments

Comments

@kevin-yee-finix
Copy link

kevin-yee-finix commented Mar 11, 2022

Previously able to connect with JSch, after pulling recent version with #307/#308 changes this is not working any longer.

Get this error:

SFTP Connection attempt failed: 
com.jcraft.jsch.JSchException: Algorithm negotiation fail

This was not a problem with earlier alpine releases.
On the sftp side:
no matching host key type found. Their offer: ssh-rsa,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521 [preauth]

Current workaround: Use alpine 3.7
docker pull atmoz/sftp:alpine-3.7
This is not ideal as older release won't have a lot of features/updates.

@KDGundermann
Copy link

having the same problem with alpine 3.16
the sshd server offers only : ssh-ed25519,rsa-sha2-512,rsa-sha2-256

see also (#296)

@ghherlin
Copy link

ghherlin commented Jul 7, 2023

The cause is explained in #335

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

3 participants