相关疑难解决方法(0)

Github Push上的权限被拒绝错误

最近,我被添加为Github项目的成员/贡献者.我已经在本地机器上克隆了该项目.

我已经做了一些更改并在本地提交,现在尝试将更改推送到原始仓库但是当我尝试推送时,我得到一些权限错误?

C:\Users\MM\Documents\GitHub\software-licensing-php [master]> git push
origin master
remote: Permission to EasySoftwareLicensing/software-licensing-php.git denied to
 irfandayan.
fatal: unable to access 'https://github.com/EasySoftwareLicensing/software-licen
sing-php.git/': The requested URL returned error: 403
C:\Users\MM\Documents\GitHub\software-licensing-php [master]> git statu
s
# On branch master
# Your branch is ahead of 'origin/master' by 2 commits.
#   (use "git push" to publish your local commits)
#
nothing to commit, working directory clean
Run Code Online (Sandbox Code Playgroud)

我是否缺乏推动变更的许可,所以我可以问项目的原作者?

git github

50
推荐指数
5
解决办法
8万
查看次数

Github:权限被拒绝(publickey)但我得到了"你已经成功验证"的消息

我已经完成的步骤:https: //help.github.com/articles/generating-ssh-keys/完全按照.

$ eval "$(ssh-agent -s)"
Agent pid 31944
$ ssh-add
Enter passphrase for /home/centos7/.ssh/id_rsa:
Identity added: /home/centos7/.ssh/id_rsa (/home/centos7/.ssh/id_rsa)

$ ssh-add -l
4096 ab:4d:23:23:99:ce:bb:9d:9f:9e:f9:b2:c8:1a:cd:f7 /home/centos7/.ssh/id_rsa (RSA)
Run Code Online (Sandbox Code Playgroud)

但是,当我跑

$ git clone git@github.com:privateRepo/repo.git

Cloning into 'repo'...
The authenticity of host 'github.com (192.30.252.130)' can't be established.
RSA key fingerprint is 56:27:ac:a5:36:28:2d:36:23:1b:56:4d:eb:df:a6:48.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'github.com,192.30.252.130' (RSA) to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from …
Run Code Online (Sandbox Code Playgroud)

git ssh github

7
推荐指数
2
解决办法
4万
查看次数

权限被拒绝(publickey).致命:远程端意外地挂了git pull

我使用的是Ubuntu 12.04

Kannan @ Ubuntu:〜/ a/git pull

权限被拒绝(publickey).

致命:远程端意外挂断

如何解决此问题.请告诉我

github

1
推荐指数
1
解决办法
2335
查看次数

标签 统计

github ×3

git ×2

ssh ×1