Bitbucket用の.ssh/config設定

Host bitbucket.org
  HostName bitbucket.org
  Port 22
  User git
  IdentityFile /path/to/id_rsa

SSHキーペアはいつものように サーバー内で

ssh-keygen -t rsa -b 2048 -C "hoge"

して作る。