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 recognized as an internal or external command.
Is there an alternative for generating keys on xp?
ssh-keygen is a utility usually found on Linux distributions. You can use Cygwin on Windows to have most functionality of the Linux command line available to you.
http://www.cygwin.com/
If you previously installed Git, open a git-bash and try the command from there.
for all windows os
if you run from cmd on windows check the path System Variable value must have inside C:\Program Files\Git\bin or the path of you git installation on cmd type set to see the variables
Running git bash as an admin worked for me!
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!