Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a public SSH key on my MacBook, but am trying to access a host that requires it on my desktop.

How do I do that, and where do I put it on my Windows machine?

I am using gitGui on Windows and terminal git on OS X.

share|improve this question

migrated from Aug 1 '10 at 22:03

This question came from our site for professional and enthusiast programmers.

Why don't you just generate another key for your desktop? – Simon Fox Aug 1 '10 at 21:48
This seems more a question for Super User. – kiamlaluno Aug 1 '10 at 21:49

Copy the files from /User/< username >/.ssh/ to C:/Users/< username >/.ssh

Replace Users with "Documents and Settings" if you are on Windows XP or later. You can just copy the files with a flash drive.

share|improve this answer
The path, in Mavericks at least, is now /Users/< username >/.ssh/. Note the plurality of Users. Thanks for this! – adamdport Mar 13 '14 at 15:39

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.