bobrofon / easysshfs

SSHFS for Android
MIT License
97 stars 16 forks source link

sshd version 7+ problem #10

Closed sstefanov closed 6 years ago

sstefanov commented 6 years ago

Hello

After sshd update connection cannot be established. sshd log says: sshd[20593]: Unable to negotiate with ...... port 60335: no matching host key type found. Their offer: ssh-ed25519-cert-v01@openssh.com,ssh-ed25519 [preauth]

bobrofon commented 6 years ago

Did you try to add HostKeyAlgorithms=+ssh-rsa (or any other host key algorithm) to mountpoint settings?

sstefanov commented 6 years ago

Yes, there is: HostKeyAlgorithms +ssh-rsa in sshd_config System is Debian buster/sid.

bobrofon commented 6 years ago

HostKeyAlgorithms +ssh-rsa in sshd_config

No. If you want to solve the problem on server side you should add 'ssh-ed25519-cert-v01@openssh.com' or 'ssh-ed25519' support in sshd_config. If you want to solve the problem on client side you can try to enforce easysshfs to use specific HostKeyAlgorithms (e.g. ssh-rsa).

sstefanov commented 6 years ago

Hello

Still not working!

Here is the server log with debug: https://pastebin.com/JsecNpDN This is sshd_config: https://pastebin.com/aBN1wAtY1

On Tue, Apr 17, 2018 at 4:47 PM, bobrofon notifications@github.com wrote:

HostKeyAlgorithms +ssh-rsa in sshd_config No. If you want to solve the problem on server side you should add ' ssh-ed25519-cert-v01@openssh.com' or 'ssh-ed25519' support in sshd_config. If you want to solve the problem on client side you can try to enforce easysshfs to use specific HostKeyAlgorithms (e.g. ssh-rsa).

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bobrofon/easysshfs/issues/10#issuecomment-381998383, or mute the thread https://github.com/notifications/unsubscribe-auth/AASe1nRMklfAmpKj0WFoadqmBQcd3dmGks5tpfJUgaJpZM4TTTrz .

-- Stefan Stefanov

bobrofon commented 6 years ago

sshd_config contains only rsa, dsa and ecdsa host keys. https://linux-audit.com/using-ed25519-openssh-keys-instead-of-dsa-rsa-ecdsa/

sstefanov commented 6 years ago

After added ecdsa host key on the server problem is solved! Thank you very much!

sstefanov commented 6 years ago

After added ecdsa host key on the server problem is solved! Thank you very much!