Keygen command not found
Keygen command not found
I run git push -u origin master.
It tells me that "Permission denied (public key) fatal: The remote end hung up unexpectedly.
Then I looked up on the internet and found that I had to generate an ssh key for my account on GitHub. However, upon doing so, when I tried to do ssh-keygen -t rsa it simply said ssh-keygen is not recognized. I tried doing mkdir C:\ssh but that didn't work. If it helps I'm using Ruby Rails and I'm on a Windows computer. Could anyone help me.
asked Aug 2 '12 at 5:10.
I just had this issue and thought I'd share what I thought was an easier way around this.
Open git-bash and run the same command with the addition of -C since you're commenting in your email address: ssh-keygen -t rsa -C command. That's it.
git-bash should have been installed when you installed git. If you can't find it you can check C:\Program Files\Git\Git Bash.
The first time I did this it failed to create the folder for me so I had to open a standard Command Prompt and mkdir.
PREVIOUS NEXT
|