尝试设置.SSH键以通过Cygwin连接到Github [英] Trying to set up .SSH keys to connect to Github via Cygwin
问题描述
我刚刚在Windows 7上安装Cygwin来开发RoR应用程序,麻烦的是我试图通过Cygwin连接Git和我的Github帐户,但由于某种原因,当我运行命令 ssh-keygen -t rsa -Cmyemail@etc.com
它给我回来bash:ssh-keygen:command not found
/ p>
我跟着Ruby on Rails教程,迈克尔·哈特尔的方式,但似乎找不到一个解决方案。
任何人都可以提供任何建议?
当您安装Cygwin时,可能会忘记安装openssh包。 / p>
我以前使用本指南,一切都是完美的(对于ssh):
http:// allthingsmarked。 com / 2006/08/17 / how-to-set-up-a-windows-ssh-server-for-vnc-tunneling /
I've just installed Cygwin on Windows 7 to develop RoR apps with, trouble is I am trying to connect Git with my Github account through Cygwin but for some reason when I run the command ssh-keygen -t rsa -C "myemail@etc.com"
it gives me back the message "bash: ssh-keygen: command not found"
I am following the Ruby on Rails Tutorial by Michael Hartle by the way but can't seem to find a solution.
Can anyone offer any advice?
Chances are you probably forgot to install the openssh package when you installed Cygwin.
I've used this guide before, and everything was flawless(for ssh):
http://allthingsmarked.com/2006/08/17/how-to-set-up-a-windows-ssh-server-for-vnc-tunneling/
这篇关于尝试设置.SSH键以通过Cygwin连接到Github的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!