Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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 stackoverflow.com Aug 1 '10 at 22:03

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

1  
Why don't you just generate another key for your desktop? – Simon Fox Aug 1 '10 at 21:48
1  
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
1  
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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .