在Windows上让git'server'工作时出现问题 [英] Problems getting git 'server' to work on Windows
问题描述
我一直关注蒂姆的
I've followed the Tim's article (mentioned in the answer to this question), but - like many others, it seems - I'm stuck when trying do the test clone at the end. I get the fatal: the remote end hung up unexpectedly
error, even though my $HOME path seems to be right.
任何人都可以找到我可能从哪里开始进行调试的任何指示?我的git和linux-fu受到严重限制...
Anyone got any pointers to where I might start for debugging this? My git and linux-fu are severely limited...
我知道此答案相同的问题,但这不适用于我的情况,我没有收到有关路径的任何消息.
I'm aware of this answer to the same question, but it doesn't apply in my case, I don't get any messages about paths.
推荐答案
只需要正式化我的评论即可:
Just to formalize my comment:
- How can I get git and copSSH to look in the correct directory for keys? insists on double-checlin your
$HOME
variable - git push origin master , invalid port number insists on using the right url
- and Unable to Git-push master to Github is a compilation of points to check when having ssh connection issues.
自从您提到:
我刚刚尝试了
I just tried
ssh myuser@10.10.5.74 -p 4837
其中
Permission denied (publickey,keyboard-interactive).
这意味着您需要检查定义密钥的方式(可能使用密码,这可能是一个问题)
it means you need to check how you define your key (probably with a pass-phrase, which might be an issue here)
这篇关于在Windows上让git'server'工作时出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!