Hannes Braun


HAHARI(1)

2026-05-24

NAME

hahari - send a key to hanazono

SYNOPSIS

hahari [target ...]

DESCRIPTION

hahari sends a key to each target specified as an argument. One target represents one machine where hanazono is running.

To configure hahari, place a config file at $XDG_CONFIG_DIR/hanazono/config. The file is using scfg as its format. Multiple targets can be specified. The first parameter after "target" is the target name. Within the child block, there need to be four directives:

  • host: specifies the address for where to connect to (without the port)
  • username: the username to use
  • password: the password to use
  • keyfile: the path to the key file that should be sent
As an example, the config file might look like this:


target my-server {
	host 192.168.0.100
	username hannes
	password super-secret-password
	keyfile /home/hannes/key.bin
}

To establish the connection, the proper certificates need to be available in $XDG_CONFIG_DIR/hanazono/certs. Each file in this directory will be interpreted as a certificate.

SEE ALSO

hanazono(1)

AUTHORS

Created and maintained by Hannes Braun <hannes@hannesbraun.net>. Up-to-date sources can be found at https://git.sr.ht/~hannes/hanazono. Bugs and patches can be submitted by email to ~hannes/public-inbox@lists.sr.ht.