相关疑难解决方法(0)

MSysGit和ssh配置.失踪

1)运行Git Bash(C:\ Program Files(x86)\ Git\bin\sh.exe --login)

$ ssh -v git@github.com
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.
...
Run Code Online (Sandbox Code Playgroud)

好的!ssh配置好读.

2)从cmd.exe运行

C:\Users\Alexander Fedorov>ssh.exe -v git@github.com
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 …
Run Code Online (Sandbox Code Playgroud)

windows git ssh msysgit

10
推荐指数
1
解决办法
1万
查看次数

标签 统计

git ×1

msysgit ×1

ssh ×1

windows ×1