事件发生在 建立一个git 服务器后,贸易小组须要一个新的git管理包git
clone 后报错vim
Initialized empty Git repository in /data/www/yilinker-freetrad/.git/
Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
fatal: The remote end hung up unexpectedlyapi
一开始使用的 sudo git .....服务器
结果本身居然没有去 /root ssh
sudo vim /root/.ssh/id_rsa.pub事件
下面复制 公钥,也是醉了,并且没有关闭掉老的窗口,在新的窗口里面尝试是否能够用。rem