Linux

Where Does Dropbear Store Keys and Config?

Dropbear keeps host keys in /etc/dropbear with runtime options from the distro service file.

Last updated

Dropbear stores host keys as files in /etc/dropbear on most distros. Key types generate on first install with one file per algorithm. Runtime flags like port and banner come from the service file or init config.

Authorized users authenticate against standard authorized_keys in home folders. Convert OpenSSH keys with dropbearconvert when migrating. Keep the key folder root only like any SSH host store.

Where Dropbear stores this, by platform

Linux
/etc/dropbear

Host key files per algorithm live here. Runtime flags sit in the distro service config. User keys stay in ~/.ssh as usual.

Frequently asked questions

How do I change the Dropbear port?

Edit the service flags in the distro init config, then restart the service. Firewall rules must follow the move. Test from a second session before closing the first.

Can Dropbear use my OpenSSH keys?

Convert them with dropbearconvert into the expected filenames. User keys need no conversion for login. Host keys generate per algorithm on install.

Notice an outdated path? Let us know.