Forums

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

SSH key - update label

motor-delivery March 4, 2019

Once an SSH access key is set up for a bitbucket repo I appreciate the key itself can't be changed but how to I change the label?

For reasons I'd rather not go in to we ended up changing one of the staging servers to be a live server, and I'd like the label to reflect this. It seems counter-intuitive to delete a working key and then re-add it just to change the label.

1 answer

0 votes
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 4, 2019

The label is actually picked up from the SSH Key itself. It is the label you used to create the key. You can't change it without changing the key itself!

motor-delivery March 5, 2019

That can't be right. In the past I've cut the key contents, deleted the key and re-created one with the pasted contents and a different label.

Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 5, 2019

The key has the label at the end of it. Maybe you modified it and re uploaded. Have never tried it but you can take a look.

Not sure if there is another way to do it. Will let others chime in :)

motor-delivery March 6, 2019

As far as I can see the label is independent of the key. The key has the username@hostname at the end but this doesn't have to be the same as the label, and looking though my existing working keys the label is often different :) 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events