ubuntu 下 git push origin master, 提示:
Access denied.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
仓库是 [email protected]
公钥已经加入 git@osc
私钥放在 ~/.ssh/ 下 通过 config 配置 为
```
Host git.oschina.net
IdentityFile ~/.ssh/id_rsa_osc_myproject
User myname
```
clone 和 pull 都可以用 成功, 而且同样的配置在 windows 这边 可以 push, 请问哪里不对劲?
Access denied.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
仓库是 [email protected]
公钥已经加入 git@osc
私钥放在 ~/.ssh/ 下 通过 config 配置 为
```
Host git.oschina.net
IdentityFile ~/.ssh/id_rsa_osc_myproject
User myname
```
clone 和 pull 都可以用 成功, 而且同样的配置在 windows 这边 可以 push, 请问哪里不对劲?