Don't generate user's SSH key in the background.  Make them wait for it.