Amiga Unix — 68040 · 68060

Manual pages › General commands (1)

dropbearkey(1)

make a key for dropbear and dbclient

Package: dropbear, added for amigaux.

dropbearkey - make a key for dropbear and dbclient

dropbearkey -t ed25519 | rsa -f file [ -s bits ]
dropbearkey -y -f file

dropbearkey makes a private key, from /dev/urandom, writes it to file (which must not exist yet), readable by its owner only, and prints the public key and its fingerprint. The key is a host key for dropbear(8) or a user's key for dbclient(1). Keys are not encrypted, so the file's mode is all that protects one.

ed25519 (the one to use: small and fast) or rsa, for a peer that knows no ed25519.
The private key's file.
The size of an RSA key, a multiple of 8 (default 3072). Making one takes minutes on a 68030.
Print the public key and fingerprint of the key in file; the public line is what goes into a server's ~/.ssh/authorized_keys.

A key to log in with, and its public half for the server:

$ mkdir -m 700 ~/.ssh
$ dropbearkey -t ed25519 -f ~/.ssh/id_dropbear
$ dropbearkey -y -f ~/.ssh/id_dropbear | grep '^ssh-'

An RSA host key, made by hand instead of by the boot script:

# dropbearkey -t rsa -f /etc/dropbear/host_rsa

dbclient(1), dropbear(8)

1 November 2026 dropbear 2026.94