Create the directories which hold the files we want to write, if necessary.
Clean up the whitespace in the key material.
These will succeed just as the rest will succeed.  There is an SSH server running, after all.
Properly run the blocking ``configure_ssh`` function in a separate thread in one more place that was missed previously.  Also suppress output from ``ssh-add`` and do better key comparison in one more place.