dropbearkey(8)

dropbearkey8

Create private keys for the use with dropbear(8)

Usage

dropbearkey -t type -f file [-s bits] [-y]

Overview

dropbearkey generates a RSA or DSS format SSH private key, and saves it to a file for the use with the dropbear(8) SSH 2 server. Note that some SSH implementations use the term "DSA" rather than "DSS", they mean the same thing.

Options

-t type

Type of key to generate. Must be one of rsa or dss.

-f file

Write the secret key to the file file.

-s bits

Set the key size to bits bits, should be multiple of 8 (optional).

-y

Just print the publickey and fingerprint for the private key in file.

Examples

generate a host-key:
# dropbearkey -t rsa -f /etc/dropbear/dropbear_rsa_host_key

extract a public key suitable for authorized_keys from private key:
# dropbearkey -y -f id_rsa | grep "^ssh-rsa " >> authorized_keys

Releases

5 releases since Debian 3.1 (Sarge); the text changed 1 time.

  1. 3.1–5.0
  2. 6.0–7

-y since Debian 6.0 (Squeeze).

Author

Matt Johnston ([email protected]).
Gerrit Pape ([email protected]) wrote this manual page.

From dropbear 2012.55-1.3 in Debian 7 (Wheezy). Parsed by carta from the page's man source.