ssh-keygen command not found when setting up Git on Windows

51,968

Solution 1

it would appear that you don't have ssh installed on your computer. you will need an ssh client, since it appears you on using windows you can use http://cygwin.com/ and it will come with one, I don't know about a portable version of ssh, though..

Solution 2

The tutorial on GitHub is wrong. The correct one is ssh-keygen -t rsa -C

I also had this problem.

Share:
51,968

Related videos on Youtube

Freesnöw
Author by

Freesnöw

Updated on September 18, 2022

Comments

  • Freesnöw
    Freesnöw over 1 year

    I'm following the steps here. I'm on step 3 of Set Up SSH Keys.

    When I type in:

    ssh-keygen -t rsa -C "myemailhere"

    I get the response:

    ssh-keygen: command not found

    What is this supposed to mean? I'm using the portable version of Git, I've got open bash.exe from inside the bin.

  • user1004985
    user1004985 almost 6 years
    I think it is ssh-keygen.exe
  • Nalin Savaliya
    Nalin Savaliya almost 5 years
    It worked like charm !