Skip to content

Instantly share code, notes, and snippets.

@dantmnf
Created August 30, 2026 10:47
Show Gist options
  • Select an option

  • Save dantmnf/b8a23402f28e56bf1a55588d5333264f to your computer and use it in GitHub Desktop.

Select an option

Save dantmnf/b8a23402f28e56bf1a55588d5333264f to your computer and use it in GitHub Desktop.
migrate host keys from dropbear to openssh
dropbearconvert dropbear openssh /etc/dropbear/dropbear_rsa_host_key /etc/ssh/ssh_host_rsa_key
dropbearconvert dropbear openssh /etc/dropbear/dropbear_ecdsa_host_key /etc/ssh/ssh_host_ecdsa_key
dropbearconvert dropbear openssh /etc/dropbear/dropbear_ed25519_host_key /etc/ssh/ssh_host_ed25519_key
cp /etc/dropbear/dropbear_rsa_host_key.pub /etc/ssh/ssh_host_rsa_key.pub
cp /etc/dropbear/dropbear_ecdsa_host_key.pub /etc/ssh/ssh_host_ecdsa_key.pub
cp /etc/dropbear/dropbear_ed25519_host_key.pub /etc/ssh/ssh_host_ed25519_key.pub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment