Skip to content

bifroest key export host

Creates known_hosts entries for an address without network access. With --identityFile, that key is loaded or generated. Otherwise all host keys from the selected configuration are loaded or generated.

Syntax

bifroest key export host [flags]

Flags

Includes all general flags.

--configuration

Configuration to load when identityFile is absent. It uses the same platform default as bifroest run.

--identityFile

Specific host private-key file to load or create. This cannot be combined with configuration.

--address

string

Host represented by the generated entries. Port 22 can be omitted; non-default IPv6 ports use [address]:port.

--output

File Path = "-"

Output file. - writes to stdout.

--force

bool = false

Replaces an existing output file.

Example

See Bifröst delegation authorization for a host-key bootstrap sequence.