我要设置一个 SSH 服务器来将我的 Git 存储库托管到我的局域网。我遵循了 TimDavis 的本教程,希望能够创建一个安全的 Git 存储库。
我使用 Putty 测试了我的连接,它是成功的。我唯一的问题是我无法在控制台中运行“git”命令。然后我尝试克隆我的存储库,这是输出的错误:
/usr/bin/git-upload-pack.exe: error while loading shared libraries:
libiconv2.dll: cannot open shared object file:
No such file or directory
此外,当我在连接到 SSH 服务器的 Putty Bash 中运行“git”命令时,我遇到了以下错误:
/usr/bin/git.exe: error while loading shared libraries: pthreadGC2.dll:
cannot open shared object file: No such file or directory
我似乎所有的问题都与缺少的库有关,但我不知道如何解决。我正在使用 Windows 7 作为操作系统。
谢谢