一、repo init时报错:
Permission denied (publickey).
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
没有在服务器添加key导致的。
二、查看key:
cat ~/.ssh/id_rsa.pub