Sodamhan.com

TL;DR

dropbearkey

Generate SSH keys in Dropbear format. More information: https://manned.org/dropbearkey.1.

  • Generate an SSH key of type ed25519 and write it to key file:

dropbearkey -t ed25519 -f path/to/key_file

  • Generate an SSH key of type ecdsa and write it to key file:

dropbearkey -t ecdsa -f path/to/key_file

  • Generate an SSH key of type RSA with 4096-bit key size and write it to key file:

dropbearkey -t rsa -s 4096 -f path/to/key_file

  • Print the private key fingerprint and public key in key file:

dropbearkey -y -f path/to/key_file

This document was created using the contents of the tldr project.