简体   繁体   中英

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
  • uninstalling and installing the Git from https://git-scm.com/download/win
  • uninstalling and istalling OpenSSH from Windows Apps&Features / Optional Features
  • installing git via scoop, as well git-with-openssh as advised here
  • changing the GIT_SSH environment variable to correct path in scoop git-with-openssh and checking it in both user and system environment variables
  • googling

Notes:

  • I have no problem cloning the repository via 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
  • 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:

  • delete/unset the GIT_SSH environment variable.
    In particular, it should not reference C:\Windows\System32\OpenSSH\ssh.exe
  • set your PATH in order to have C:\Program Files\Git\usr\bin before C:\Windows\System32\OpenSSH

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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