burusftp keygen

Generates SSH private keys. For a step-by-step guide, see Generate SSH Server Keys (CLI).

Synopsis

burusftp keygen --all [<path>]

burusftp keygen [options] <keyfile>

Options

--all

Generate the default set of keys (ECDSA NIST P-256, Ed25519, RSA 2048-bit) to the specified path. If no path is given, keys are saved to the keys directory inside the configuration directory.

-t, --type (rsa | dsa | ed25519 | ecdsa)

Key algorithm.

Default: rsa.
-b, --bits <bits>

Key size in bits. The default depends on the algorithm.

-c, --curve (nistp256 | nistp384 | nistp521)

Curve for ECDSA keys.

Default: nistp521.

Examples

# Generate default key set to the configuration directory
burusftp keygen --all

# Generate default key set to a custom path
burusftp keygen --all "D:\keys"

# Generate 4096-bit RSA key
burusftp keygen key.ppk

# Generate 512-bit DSA key
burusftp keygen -t dsa -b 512 key.ppk

# Generate ECDSA key with NIST P-521 curve
burusftp keygen -t ecdsa -c nistp521 key.ppk

See also

burusftp init

On this page