The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Can I use one existing SSH key for two different computers?

Djordje Stojanovic
January 22, 2021

The computer I used so far is in service, and since I need access to my work, I received another computer from the company to use. So I'm wondering if it's possible to use an existing SSH key from my bitbucket account on my current computer? Please, can you explain to me how?


Thanks in advance

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Martin Bayer _MoroSystems_ s_r_o__
Community Champion
January 22, 2021

Hi @Djordje Stojanovic yes you can. It would be safer to create new key and invalidate the old one in bitbucket configuration, but you can reuse it.

It is enough to copy private and public part of the key from previous computer to a new one.

Disk location should be ${home}/.ssh where ${home} depends on your operating system. For Linux systems it is /home/{username}/.ssh.

Djordje Stojanovic
January 23, 2021

In that case, I will choose the safer option and create a new SSH key. Thank you for the answer @Martin Bayer _MoroSystems_ s_r_o__ .

Martin Bayer _MoroSystems_ s_r_o__
Community Champion
January 23, 2021

Good choice 🙂

Like Djordje Stojanovic likes this
TAGS
AUG Leaders

Atlassian Community Events