host certificate authority toolkit


This implements tools to prepare a set of hosts to use certificate
based host authentication.

 There are 3 steps involved.

1- create a signing key that will sign host certificates. 

   host_ca --make-signing-key

2- Prepare server hosts to use signed certificates: emit a certificate
   by signing the host key and put the certificate in the host's
   /etc/ssh directory. Modify sshd_config so that the certificate is
   used.

   host_ca --certify
   host_ca --sshd-patch

3- Prepare client hosts to trust signed host certificates: Modify
   ssh_config to use a global known_hosts file. Create a known_hosts file
   which has the public key for checking signatures. 
 
   host_ca --ssh-patch
   host_ca --known-hosts

Once you have prepared all your hosts to act both as client and as
server you never get host key messages when you use ssh from any host
to another in the collection.  When you ssh to hosts outside the
collections the usual default host key interaction takes place.

Structured english process description:

    host_ca --make-signing-key
    host_ca --ssh-patch >ssh_config.snippet
    host_ca --sshd-patch >sshd_config.snippet
    host_ca --known-hosts >known_hosts
    for each host
        fetch ssh_host_rsa_key.pub
        host_ca --certify
        ship: ssh_config.snippet, sshd_config.snippet, known_hosts, ssh_host_rsa_key-cert.pub
