权限被拒绝(公钥)。致命:无法从远程存储库读取。转售托管
Permission denied (publickey). fatal: Could not read from remote repository. with re-seller hosting
我正在尝试在我的经销商托管帐户(inmotion 托管)中设置 git挂钩。我有 git 和 git init --bare
的设置文件夹并配置了 post-receive
文件并在 git.When i 运行 git remote -v
中添加了远程 ssh
origin https://github.com/{username}/{projectname}.git (fetch)
origin https://github.com/{username}/{projectname}.git (push)
production ssh://{hostingusername}@{domain-name}:{port}/repo/site.git (fetch)
production ssh://{hostingusername}@{domain-name}:{port}/repo/site.git (push)
我遇到错误
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
正在尝试 运行宁
git push production master
如果您使用的是共享主机,请检查您的目录路径。我对此表示怀疑。我以前也遇到过同样的麻烦。
我正在尝试在我的经销商托管帐户(inmotion 托管)中设置 git挂钩。我有 git 和 git init --bare
的设置文件夹并配置了 post-receive
文件并在 git.When i 运行 git remote -v
origin https://github.com/{username}/{projectname}.git (fetch)
origin https://github.com/{username}/{projectname}.git (push)
production ssh://{hostingusername}@{domain-name}:{port}/repo/site.git (fetch)
production ssh://{hostingusername}@{domain-name}:{port}/repo/site.git (push)
我遇到错误
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
正在尝试 运行宁
git push production master
如果您使用的是共享主机,请检查您的目录路径。我对此表示怀疑。我以前也遇到过同样的麻烦。