尝试设置 .SSH 密钥以通过 Cygwin 连接到 Github
我刚刚在 Windows 7 上安装了 Cygwin 来开发 RoR 应用程序,问题是我试图通过 Cygwin 将 Git 与我的 Github 帐户连接起来,但由于某种原因,当我运行命令 ssh-keygen -t rsa -C " [email protected]"
它给了我回复消息 < code>“bash:ssh-keygen:找不到命令”
我正在关注 Michael Hartle 的 Ruby on Rails 教程,但似乎找不到解决方案。
有人可以提供任何建议吗?
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 "[email protected]"
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可能在安装 Cygwin 时忘记安装 openssh 软件包。
我以前使用过这个指南,一切都完美无缺(对于 ssh):
http://allthingsmarked.com/2006/08/17/how-to-set-up-a-windows-ssh-server-for-vnc-tunneling /
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/