Updated to only generate an ssh key if one doesn't exist.