Optional ssh-keygen and db creation