I've added a remote bare repository using commandline:
git add remote production ssh://username@domain.com/path/to/repo.git
I'm able to push to the repository using:
git push production master
Now I'd like to push from SmartGit:
SmartGit display an error in the 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.
I've checked that I have the correct access rights and that the repository exists. Also private key has only read/write permissions for the onwer ( chmod 600 ~/.ssh/id_rsa
).
What am I missing?
sudo apt-get install ssh-askpass
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.