I'm following along with Michael Hartl's Ruby on Rails tutorial and I've run into a roadblock trying to generate an SSH key for git.
When I type:
ssh-keygen -t rsa -C "ben@rockhopperdigital.com"
I get this:
bash: ssh-keygen: command not found
I'm sure it's something stupid, but I'm new to git and Rails in general. Any assistance would be much appreciated (开发者_如何学Goand may garner you a link on my blog). A search for that error in quotations followed by git gave me 0 results on a Google search.
Thanks,
Ben
Which OS are you on? It depends on that. Normally you install openssh package to get the ssh utils which includes ssh-keygen. If you are on debian or ubuntu try to see if you have installed ssh-keygen.
If on windows get openssh for Windows or Putty to generate the key for you.
--Sai
精彩评论