3

I am attempting to use GitHub in conjunction with my Windows 7 computer running Cygwin. I have managed to get GitHub working fine when I use the "Powershell.exe" that comes with git for windows. I cannot, however, get it to work when I am in Cygwin. The issue seems to be with authentication because every time I try to clone, push or pull I get Permission denied (publickey)..

Any help would be most appreciated.

6
  • 2
    Have you set up an SSH key in ~/.ssh in Cygwin? IIRC, your Cygwin home directory isn’t the same as your actual user folder. Commented Mar 5, 2013 at 0:34
  • @minitech: Yes. I copied the files from C:\Users\Zack\.ssh into C:\cygwin\home\Zack\.ssh and verified via cd and cat that they were infact there inside of cygwin. Commented Mar 5, 2013 at 0:38
  • 1
    Is your key password-protected? If so, does it ask you for a password? Commented Mar 5, 2013 at 0:41
  • @minitech: Not sure what you mean by my key being password protected... The repository is private so i guess there should be a login required there but no, it never asks for a password. Commented Mar 5, 2013 at 0:43
  • 1
    No, it would just be your SSH key that was password-protected. It would have asked you to enter a passphrase when generating it. Anyways, try generating a new one in Cygwin and authorizing that one with GitHub. Commented Mar 5, 2013 at 0:45

1 Answer 1

2

Try generating a new one with Cygwin!

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.