LinuxCommandLibrary

dropbearkey

TLDR

Generate ed25519 key

$ dropbearkey -t ed25519 -f [path/to/key_file]
copy
Generate ECDSA key
$ dropbearkey -t ecdsa -f [path/to/key_file]
copy
Generate RSA key with 4096 bits
$ dropbearkey -t rsa -s 4096 -f [path/to/key_file]
copy
Print fingerprint and public key
$ dropbearkey -y -f [path/to/key_file]
copy

SYNOPSIS

dropbearkey [options]

DESCRIPTION

dropbearkey generates SSH keys in Dropbear format. Dropbear is a lightweight SSH implementation for embedded systems.
Keys generated are not directly compatible with OpenSSH format; use dropbearconvert to convert between formats.

PARAMETERS

-t type

Key type (rsa, ecdsa, ed25519)
-f file
Output key file
-s bits
Key size in bits (for RSA)
-y
Print public key and fingerprint from existing key

CAVEATS

Dropbear key format differs from OpenSSH. Use dropbearconvert to convert keys. Part of Dropbear SSH suite, common in embedded Linux.

SEE ALSO

Copied to clipboard