Generating a ssh gitlab key from Windows

advertisements

I've tried following this guide on generating an ssh key in order to use gitlab.

Before I know if I should generate a key I must check if there is one already like this:

type %userprofile%\.ssh\id_rsa.pub

If it says this, then I must generate the key:

the system cannot find the path specified

What is the next step? Because the guide doesn't say anything in case this is the message I get.

Edit: I've tried

ssh-keygen -t rsa -C "[email protected]"

And I get

'ssh-keygen' is not recognized as an internal or external command,
operable program or batch file.

Edit 2: I am on windows.


ON windows if you have git for windows installed, run git-gui then click help. Then click Help then click Show Ssh Key, then click Generate Key.

While you're at it, then copy to the clipboard, and then go to your Gitlab account page and add the SSH key to your Gitlab account's ssh settings.