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:
<span>1 </span><span>2 </span><span>3 </span>
Host bitbucket.org AddKeysToAgent yes IdentityFile ~/.ssh/{ssh-key-name}
I met this error:
zsh: command not found: AddKeysToAgent
zsh: command not found: IdentityFile
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 AccountsRegards,Mark C
It looks like you're new here. Sign in or register to get started.