Forums

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

Issue when setting up ssh key

Yijun Hou
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 13, 2024

I'm following up with wiki here: 

https://support.atlassian.com/bitbucket-cloud/docs/set-up-personal-ssh-keys-on-macos/

 

At this step - 

To ensure the correct SSH key is used when connecting to Bitbucket, update or create your SSH configuration file (~/.ssh/config) with the following settings:

1 2 3 Host bitbucket.org AddKeysToAgent yes IdentityFile ~/.ssh/{ssh-key-name}
I met this error:

 

zsh: command not found: AddKeysToAgent

zsh: command not found: IdentityFile

1 answer

0 votes
Mark C
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 15, 2024

Hi @Yijun Hou

Thanks for reaching out to the community.

You can try adding the SSH key in the SSH agent using the ssh-add command.
You can find this KB for more information: Multiple SSH Keys settings for different Bitbucket Cloud Accounts

Regards,
Mark C

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events