Jump to content

Recommended Posts

Posted

Hey Gang,

I'm a very novice linux user, just know enough to get around and follow instructions for the most part.  I recently started getting the following error when trying to ssh to my armbian box from an up to date macbook.

 

Unable to negotiate with <ip address> port 22: no matching host key type found. Their offer: rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp256,ssh-ed25519

 

I've read online that you can get around this with "-oHostKeyAlgorithms=+ssh-dss" temporarily, but I cant seem to find a guide on how to regenerate the host keys on armbian to match more current standards (or what I assume is ssh's up to date minimum)

 

Does anyone have a quick guide on how to do this?

Currently running:

Welcome to Armbian 23.02.2 Jammy with Linux 5.15.93-rockchip64

<
Posted

Armbian does not mess with ssh settings besides allowing root login. It uses default values that userspace packages ship. Therefore also hostkey generation is straight forward as plain Debian/Ubuntu on x86.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines