rebuild for performance and ssh auth.