Trying to set up .SSH keys to connect to Github via Cygwin

守給你的承諾、 提交于 2019-12-22 08:35:32

问题


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?


回答1:


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/



来源:https://stackoverflow.com/questions/5466583/trying-to-set-up-ssh-keys-to-connect-to-github-via-cygwin

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!