github - git push报错:cannot spawn ssh: No such file or directory
阿神
阿神 2017-05-02 09:32:33
0
2
1471

The local repository cannot be pushed. I don’t know why, because a key was generated before. I was worried that it was because of that that I deleted the key on github and regenerated it, but it still didn’t work. Obviously I added it locally and I committed, but it still prompts no such file.
I couldn’t find an answer to my problem on stack overflow.

阿神
阿神

闭关修行中......

reply all(2)
刘奇

There may be various reasons for this problem. The root cause is that your local SSH is not working properly. Please refer to all the answers in this Q&A: http://stackoverflow.com/questions/10574267/cannot-spawn-ssh-when -connecting-to-github-but-ssh-t-gitgithub-com-works

Try to find out the superficial reasons first.

过去多啦不再A梦

It is possible that you have virtualenv enabled. Try switching to another command line client or temporarily closing virtualenv to see if the problem persists.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template