10
1)運行git擊(C:\ Program Files文件(x86)的\的Git \ BIN \ sh.exe --login)MSysGit和ssh配置。缺少
$ ssh -v [email protected]
OpenSSH_4.6p1, OpenSSL 0.9.8e 23 Feb 2007
debug1: Reading configuration data /c/Users/Alexander Fedorov/.ssh/config
debug1: Applying options for github.com
debug1: Connecting to github.com [207.97.227.239] port 22.
debug1: Connection established.
...
Hi xpoft! You've successfully authenticated, but GitHub does not provide shell access.
...
好吧! ssh配置很好。
2)從cmd.exe的
C:\Users\Alexander Fedorov>ssh.exe -v [email protected]
OpenSSH_4.6p1, OpenSSL 0.9.8e 23 Feb 2007
debug1: Connecting to github.com [207.97.227.239] port 22.
...
debug1: No more authentication methods to try.
Permission denied (publickey).
拿去運行。 ssh配置文件丟失...
如何...如何從ssh.exe讀配置?
Ok!謝謝。添加環境變量HOME – Alexander 2012-04-13 05:56:11