ssh-keygen' is not recognized as an internal or external command

后端 未结 9 1652
粉色の甜心
粉色の甜心 2021-02-06 20:56

I am trying to add ssh keys for usage on github but on my xp on command prompt ssh-keygen does not work. It gives me the following error

ssh-keygen\' is not reco         


        
相关标签:
9条回答
  • 2021-02-06 21:23

    for all windows os

    cd C:\Program Files (x86)\Git\bin
    ssh-keygen
    
    0 讨论(0)
  • 2021-02-06 21:24

    STEP 1 Install Git.

    STEP 2 Add the path of your git to the environment variables like this C:\Program Files (x86)\Git\bin.

    STEP 3 Open new terminal session and try ssh-keygen. It will work.

    NOTE New Terminal Window is must!

    0 讨论(0)
  • 2021-02-06 21:27

    Search your git directory if you already install git

    Use git bash should be on your C:\Program Files\Git\bin depend on your installation location

    If you already add the path just run sh on your cmd or open sh.exe

    type ssh-keygen

    Then just insert name and passphrase (You can just type empty string).

    0 讨论(0)
提交回复
热议问题