SSH key generation for GIT on Windows 8

I am trying to generate a new SSH key on my windows computer using command prompt.
I have installed Cygwin and added its path to use linux commands through command prompt.

Now ls is listing me the inner folders.
But ssh is still nor working.

On trying to generate SSH key using the command
ssh-keygen -t rsa -C “email_id”

its giving me a following error.
ssh-keygen is not recognized as an internal or external command, operable program or batch file.

  • Smartgit can not clone: Please set the VM property sshClient.scriptPath to directory without spaces
  • Git + Windows 8 + SSH: Asks for password
  • Windows 8 Composer Install from private repository
  • Git command not recognized; where is it located?
  • Can't chmod SSH key for git through git bash on windows 8 embedded
  • Teamcity: Failed to perform checkout on agent: Unable to run git at path C:\Program Files (x86)\Git\bin\sh.exe
  • Jenkins windows slave service does not interact with desktop
  • Qt working Windows 8 style frameless custom window
  • One Solution collect form web for “SSH key generation for GIT on Windows 8”

    No need for cygwin: a regular msysgit is enough (unzip PortableGit-1.9.5-preview20141217.7z anywhere you want, add its bin/ folder to your path and you have git and ssh including ssh-keygen)

    Once you have launched its git-cmd.bat, you can generate your ssh keys.

    ssh-keygen -t rsa -C "email_id" -q -P ""
    

    (here I don’t use a passphrase, for testing purposes, avoiding the ssh-agent management)

    id_rsa and id_rsa.pub will be generated in %HOME%/.ssh.
    HOME is set by the git-cmd.bat, usually in %USERPROFILE%.

    Git Baby is a git and github fan, let's start git clone.