DEV Community

Discussion on: How to Setup Multiple Ssh Keys for Multiple Github/Bitbucket accounts.

Collapse
 
shostarsson profile image
Rémi Lavedrine • Edited

That is bad practice indeed to have the same public key used for two different accounts.
Why don't you want to create 2 key pairs (private/public) and use them on the two different accounts?
Once it is set up, you just have to forget it. So it is not a lot of work to add.

Thread Thread
 
dewofyouryouth_43 profile image
Jacob E. Shore

I’m perfectly happy making multiple key pairs. I was just answering the comment question that in that circumstance it is not an option to use the same key.