Generate a ssh key pair on the host if none exists

The code to add it to ~/.ssh/authorized_keys errors if it
doesn't exist