obsidian/03 Resources/Infrastructure/bitbacket ssh setup.md
2026-05-18 18:26:01 +01:00

763 B
Raw Permalink Blame History

created modified name status tags type
2026-04-22 2026-05-18 Bitbacket Ssh Setup active
domain/devops
tech/docker
type/reference
reference

1. Create a key

ssh-keygen -t ed25519 -C vadymsamoilenko@oliver,agency -f ~/.ssh/id_bitbucket

2. Display the public key (copy it)

cat ~/.ssh/id_bitbucket.pub

3. Add the key to Bitbucket via your browser

4. Create an SSH config

cat > ~/.ssh/config << "EOF" Host bitbucket.org HostName bitbucket.org User git IdentityFile ~/.ssh/id_bitbucket IdentitiesOnly yes EOF

5. Set permissions

chmod 700 ~/.ssh

chmod 600 ~/.ssh/id_bitbucket

chmod 600 ~/.ssh/config

6. Verify

ssh -T git@bitbucket.org