DEV Community

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

 
shostarsson profile image
Rémi Lavedrine

Definitely right.
Nevertheless, for the purpose of that post, I think that it is good to explain things clearly and not to use "implicit" behavior. That is why I used so many keys in that example. When you are familiar with this you are indeed going to use less keys and not remove everything.
And then, I think that your comment would be of great benefit. :-)

Thread Thread
 
olistik profile image
olistik

@Cully Sometimes you want to use different accounts, in order to isolate the access to the repositories from different devices. In that case (my case) the platform (for example BitBucket) doesn't allow you to share the same public key across different accounts.

Thread Thread
 
edwrdtjustice profile image
Edwrd T

A byproduct of doing this is that it's really easy to identify which key does what.