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

Bug: Problem logging into node's ssh console. #564

Closed
r1de opened this issue Dec 14, 2022 · 2 comments
Closed

Bug: Problem logging into node's ssh console. #564

r1de opened this issue Dec 14, 2022 · 2 comments

Comments

@r1de
Copy link
Contributor

r1de commented Dec 14, 2022

I Recently upgraded my main computer to Ubuntu 22.04, Jammy Jellyfish.
Then I was unable to login to my home node via ssh, and I got the error:

user@host:~ $ ssh kg6wxc-vc-rf-5g.local.mesh
Unable to negotiate with X.X.X.X port 2222: no matching host key type found. Their offer: ssh-rsa

According to google:
The "host-key" signature type "ssh-rsa" refers to RSA with SHA-1, and SHA-1 is considered very weak.

I guess some systems are no longer going to accept the older algorithms.
There is a work around (for now, until it's support is dropped altogether).
I just had to add some lines to my local .ssh/config file:

Host <mesh_node_name_used_to_connect>
    PubkeyAcceptedAlgorithms +ssh-rsa
    HostkeyAlgorithms +ssh-rsa

I can then login to the AREDN device via ssh again.

I know, I know, we should not be using encryption, but ssh is kind of like a swiss army knife of networking, we kind of have to keep it, just for administrators sake!

dropbear may need to be updated or have it's configuration changed or something.

@aanon4
Copy link
Contributor

aanon4 commented Dec 14, 2022

The current nightly supports newer keys

@r1de
Copy link
Contributor Author

r1de commented Dec 14, 2022

Ha. ok.
That I did not try.
I'll upgrade and try again. 😄
Thx Tim. Sorry, I should have known you already addressed this.
I guess it's here now in case others hit the issue. 👍

@dman776 dman776 closed this as completed Dec 14, 2022
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