简体   繁体   English

无法克隆 GitHub SSH 存储库:CreateProcessW 失败错误:193

[英]Cannot clone GitHub SSH Repository: CreateProcessW failed error:193

This is what I am doing and I keep getting this:这就是我正在做的事情,我不断得到这个: 错误

I tried:我试过了:

  • checking my ssh key on GitHub, generating new one检查我在 GitHub 上的 ssh 密钥,生成新密钥
  • uninstalling and installing the Git from https://git-scm.com/download/winhttps://git-scm.com/download/win 卸载和安装 Git
  • uninstalling and istalling OpenSSH from Windows Apps&Features / Optional Features从 Windows 应用程序和功能/可选功能卸载和安装 OpenSSH
  • installing git via scoop, as well git-with-openssh as advised here通过勺子安装 git 以及这里建议的 git-with-openssh
  • changing the GIT_SSH environment variable to correct path in scoop git-with-openssh and checking it in both user and system environment variables将 GIT_SSH 环境变量更改为更正 scoop git-with-openssh 中的路径,并在用户和系统环境变量中检查它
  • googling谷歌搜索

Notes:笔记:

  • I have no problem cloning the repository via https我通过 https 克隆存储库没有问题
  • When I cloned the repository via https through GitHub desktop, then changed the link in GitHub desktop to ssh it got stuck at after push当我通过 https 通过 GitHub 桌面克隆存储库时,然后将 GitHub 桌面中的链接更改为 Z1787D7646304C5D9877ZCFDE 后卡在64A push3934
  • I think I am missing something as I cannot imagine there are or there is something wrong, help please:)我想我错过了一些东西,因为我无法想象有或有什么问题,请帮助:)

As illustrated by git-for-windows/git issue 2380 , make sure to:git-for-windows/git issue 2380所示,请确保:

  • delete/unset the GIT_SSH environment variable.删除/取消设置GIT_SSH环境变量。
    In particular, it should not reference C:\Windows\System32\OpenSSH\ssh.exe特别是,它不应引用C:\Windows\System32\OpenSSH\ssh.exe
  • set your PATH in order to have C:\Program Files\Git\usr\bin before C:\Windows\System32\OpenSSH设置您的 PATH 以便在C:\Windows\System32\OpenSSH之前拥有C:\Program Files\Git\usr\bin

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM