mix termite.ssh.gen_host_key (termite_ssh v0.1.0)

Copy Markdown View Source

Generates an RSA SSH host key for local Termite.SSH development.

mix termite.ssh.gen_host_key

The private and public keys are written to priv/ssh. Existing keys are preserved unless --force is supplied:

mix termite.ssh.gen_host_key --force

The private key is created with owner-only (0600) permissions. Production deployments should provision and protect host keys independently of the application release.