Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer

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 at 15:39
add comment

Your Answer

 
discard

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.