Bitbucket git без пароля

1. Генерация ключа.

$ cd ~/.ssh
$ ssh-keygen -t rsa [-C ""]

2. Выводим на консоль и копируем ключ.

$ cat ~/.ssh/

3. From Bitbucket, click Add key.
4. Enter a Label for your new key, for example, Default public key.
5. Paste the copied public key into the SSH Key field.

6. Click Save.

7.  Write

$ ssh -T

8. View the message

Warning: Permanently added the RSA host key for IP address '0000:0000:0000::152' to the list of known hosts.
logged in as email.

Возможные проблемы

git все равно спрашиват пароль.

$ ssh -T
logged in as username.
You can use git or hg to connect to Bitbucket. Shell access is disabled.

Изменил путь до репозитория с 

$ git remote set-url origin