Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Does anyone have a good solution for working with work and personal accounts on the same machine?

The title mostly says it all. I have a couple of wrinkles, though...


I have a work account and I have a personal account. I primarily develop node.js projects and I like to divide my projects up into multiple repositories so I can share code. Some projects are included in other projects as packages via

yarn add git+ssh://


I've seen several solutions for using multiple accounts, such as


1. modifying the ssh configuration to specify different hostnames and pulling from those modified hostnames, eg.


2. setting up new SSH keys and pulling using a username, as in


3. specifying which ssh key to use in the .git repository config via

git config core.sshCommand "ssh -i ~/.ssh/id_rsa_example"



The problem with the first two is that they require changes to my ssh config on two machines (work and home) and changes to my package.json. The problem with the last one is that when I install my node packages, that SSH command is not used.


The ideal solution would be to allow the use of the same SSH key on two different accounts. The solution I am using is to manually tweak my SSH config when switching from work to personal projects (which works OK because there's no overlap between work and play time).


Has anyone come up with a better solution?

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

Calling any interview participants for Bitbucket Data Center

Hi everyone,  We are looking to learn more about development teams’ workflows and pain points, especially around DevOps, integrations, administration, scale, security, and the related challeng...

495 views 5 4
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you