Run ssh-keygen after home directory is installed

The useradd command will not create the home directory,
and consequently the ssh-keygen command fails.
Moving the ssh-keygen command after the package is installed
ensures that the home directory is in place.

Issue: rundeck/rundeck#631
Merge pull request #632 from dspinellis/fix-pre

Run ssh-keygen after home directory is installed