Mac OS Maverick with ssh key from Windows 7

I have ssh key on Windows 7 machine and i don't want to generate other key on Mac OS. How can i re-use that key?


1 answer

There are actually two files, the public key (which you've put on remote servers) and a private key. You just need to copy the private key to your Mac. If you generated your keys with PuTTYgen, you'll need to make sure you've got the OpenSSH format for your private key if you want it to work on the Mac. PuTTYgen can convert it for you.

@Seth Foss: Thanks for your reply,

I have 4 files, 2 for github generator, 2 for PuTTY generator. I copied to ~/.ssh folder and add it to key chain. And i'm very thank if you support me step by step.

Sorry, but I don't know anything about key management in OSX. However, the OS shouldn't be able to tell the difference between a private key generated locally and one copied from another machine.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 23, 2018 in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

1,235 views 4 2
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you