1. 将 www 目录设为 777 2. 用git 用户 mkdir 并 git init 3. cat id_rsa.pub >. authorkeys 转载于:https://www.cnblogs.com/yangyuqiu/p/6517285.html