Hi,

I don't think I can tell you how to fix this. But since I have worked with
users on Windows Vista/msysgit setup let me point a couple of things.

1. You don't need cygwin to run msysgit. msysgit has a self contained
MSYS environment. So *no* need to install Cygwin.

2. PuTTY generated keys are not OpenSSH compatible. If you plan to
use openssh, you'll need to convert the putty generated keys into the
openssh format. This can be done with the putty-keygen (or some other
tool provided with putty)

So always try to use they ssh-keygen which ships with msysgit. It should
place the keys in correct places. For more details:
http://github.com/guides/using-git-and-github-for-the-windows-for-newbies

I suggest you remove all the existing keys from the system and start
anew.

3. If you need to run openssh client, you can get it installed under the
Cygwin environment, i.e. if you wish to use cygwin environment.

4. Always try to work in a Git Bash. It can be opened using the right click
menu. If you use the GUI it shouldn't be a problem.

5. Check the network/name resolution works correctly.

6. You can follow a guide and see how it goes. This came up in a search
http://kylecordes.com/2008/04/30/git-windows-go/

Hope these pointers help.


On Wed, Nov 4, 2009 at 1:37 AM, lunaclaire <[email protected]> wrote:

>
> I'm trying to get setup to use github and really seem blocked.
>
> some details of my setup:
>
> I'm on Windows Vista.
> I have cygwin installed which I need  for one of the projects I'm
> consulting on.
> I've installed msysgit.
> I use Putty/Pageant/Plink for ssh access to a set of servers and svn
> repos I have.
> I've generated public/private keys using (alternatively) Putty Keygen
> and ssh-keygen (from the Git Bash console) with the same results.
>
> And what I'm seeing when I try to do my first git push up to github is
> this:
>
> ssh: Could not resolve hostname : Name or service not known
> Pushing to ssh://[email protected]/zaj/blipitt.git
> fatal: The remote end hung up unexpectedly
>
> tekkub's suggested that I use openssh instead of the putty set of
> tools, but that seems to conflict w cygwin. During the openssh install
> it warns you not to proceed if you're already using cygwin, so I
> havent switched to openssh (yet).
>
> So, I dont know if my problem is:
>
> a) that I'm using putty instead of openssh
> b) something in the ssh url I'm using since I get the resolve hostname
> error
> c) something about my keys
>
> if it is a), then I wonder if anyone has any experience or suggestions
> about moving to openssh when you're using cygwin?
>
> It's hard for me to believe that it's this hard to get this setup on
> windows, so my guess is that I'm doing something stupid.
>
> Does anyone else have experience and answers on getting setup with a
> similar environment?
>
> Thx in advance.
>
> >
> Gaveen Prabhasara
http://gaveen.owain.org
http://twitter.com/gaveen

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"GitHub" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/github?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to