Is it ok to share private key file between multiple computers/services?
Posted
by
Behrang
on Super User
See other posts from Super User
or by Behrang
Published on 2010-09-16T13:15:18Z
Indexed on
2012/06/27
9:18 UTC
Read the original article
Hit count: 228
ssh
|public-key
So we all know how to use public key/private keys using SSH, etc. But what's the best way to use/reuse them? Should I keep them in a safe place forever? I mean, I needed a pair of keys for accessing GitHub. I created a pair from scratch and used that for some time to access GitHub. Then I formatted my HDD and lost that pair. Big deal, I created a new pair and configured GitHub to use my new pair. Or is it something that I don't want to lose?
I also needed a pair of public key/private keys to access our company systems. Our admin asked me for my public key and I generated a new pair and gave it to him. Is it generally better to create a new pair for access to different systems or is it better to have one pair and reuse it to access different systems? Similarly, is it better to create two different pairs and use one to access our companies systems from home and the other one to access the systems from work, or is it better to just have one pair and use it from both places?
© Super User or respective owner