I have to set each time that I reboot the system (macos):
ssh-add -K ~/.ssh/id_rsa_bb
ssh -T [email protected]
It doesn’t get saved, why? If I don’t do that I get:
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.
Maybe you can make a file by name ‘config’ in file .ssh, and write this command to synchrony your ssh:
sudo touch config
and the contents of the folder are:
# bitbucket.org
Host [email protected]
PreferredAuthentications publickey
UseKeychain yes
AddKeysToAgent yes
IdentityFile ~/.ssh/id_rsa_bb