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 broken with newer clients #552

Open
nerdoc opened this issue Nov 13, 2020 · 5 comments
Open

SSH broken with newer clients #552

nerdoc opened this issue Nov 13, 2020 · 5 comments

Comments

@nerdoc
Copy link
Contributor

nerdoc commented Nov 13, 2020

I installed PiMusicBox and tried to ssh into it from an recent Manjaro/Arch ssh client (openssh 8.4p1-2), but this seems to be a problem too at Ubuntu 20.10...?:
When I try to connect, ssh moarns:

Unable to negotiate with 192.168.1.<xxx> port 22: no matching key exchange method found. 
Their offer: diffie-hellman-group1-sha1,diffie-hellman-group14-sha1

So I suppose that your ssh server uses just these old algorhythms, and newer clients even ignore these because they are too old and insecure.
Could you add support for newer algorhythms? Because else it is not possible to connect via ssh with any newer Linux distro...

@nerdoc
Copy link
Contributor Author

nerdoc commented Nov 13, 2020

It is possible to workaround this in the client using

ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 musicbox.local

At least you can connect to it.

But this is not the fix. Please update the algorithms...

@tsopanid
Copy link

for me even this doesn't work after fresh install.
ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 pi@musicbox.local

neither with default pw 'raspberry' nor with the one i create on the web-interface;

Permissions denied, please try again.

@tsopanid
Copy link

Tried again today and could log in.
Didn't know i could login as root, thought it was raspains default user 'pi'.
So the workaround works :)

@nerdoc
Copy link
Contributor Author

nerdoc commented Nov 26, 2020

But it's no fix ;-)

@tsopanid
Copy link

True!

@kingosticks kingosticks pinned this issue Aug 6, 2021
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