[英]SmartGit authentication to bare repository fails, while push from commandline works
我使用命令行添加了一个远程裸存储库:
git add remote production ssh://username@domain.com/path/to/repo.git
我可以使用以下命令推送到存储库:
git push production master
现在我想从SmartGit推出:
SmartGit在Output-window中显示错误:
Push: Could not read from remote repository. /var/www/website> git push --porcelain --progress --recurse-submodules-check production refs/heads/master Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. Could not read from remote repository.
我已经检查过我是否拥有正确的访问权限以及存储库是否存在。 私钥也只对onwer( chmod 600 ~/.ssh/id_rsa
)具有读/写权限。
我错过了什么?
sudo apt-get install ssh-askpass
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.