开发者

Generating SSH keys (Win/msysgit) - Ruby on Rails Tutorial

开发者 https://www.devze.com 2023-02-06 07:30 出处:网络
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.

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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号