git push 代码报错 Pushing to Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
生活随笔
收集整理的這篇文章主要介紹了
git push 代码报错 Pushing to Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
背景:從openshift上clone代碼到本地,修改代碼push報錯
Pushing to Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
解決方法:
在網上查到原因要添加私鑰。
先用Git Gui緩存改動,提交。(svn用多了,習慣gui操作)
啟動Git Bash
ssh-agent #添加私鑰 輸入密碼 ssh-add "E:\Program Files\Git\.ssh\id_rsa" #[push 命令詳解](http://www.yiibai.com/git/git_push.html) git push origin- 1
- 2
- 3
- 4
- 5
來源:http://blog.csdn.net/lj745280746/article/details/44251425
總結
以上是生活随笔為你收集整理的git push 代码报错 Pushing to Permission denied (publickey,gssapi-keyex,gssapi-with-mic).的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 如何从外包装箱分辨青岛啤酒产地代码:20
- 下一篇: linux下搭建简单的git服务器测试1