首先排除是ssh的key的配置问题,因为用git本身可以正常pull和push 解决方案: 在phpstorm中配置git 选择SSH executable 从 Built-in 改为 Native 重启phpstorm即可