尝试设置.SSH键以通过Cygwin连接到Github

我刚刚在Windows 7上安装了Cygwin来开发RoR应用程序,麻烦的是我试图通过Cygwin将Git与我的Github帐户连接,但出于某种原因我运行命令ssh-keygen -t rsa -C "myemail@etc.com"它给了我回复消息"bash: ssh-keygen: command not found"

我顺便关注Michael Hartle的Ruby on Rails教程,但似乎无法找到解决方案。

有人可以提供任何建议吗?

您可能忘记在安装Cygwin时安装openssh软件包。

我之前使用过本指南,一切都完美无缺(对于ssh):

http://allthingsmarked.com/2006/08/17/how-to-set-up-a-windows-ssh-server-for-vnc-tunneling/