Added my SSH key, cannot push to Spaces repo

Let SSH agent know which key to use when you want to communicate with hf.co
You could do so in SSH config file (on macOS it’s .ssh/config) by

Host hf.co
User hf_username
IdentityFile path_to_your_private_key
IdentitiesOnly yes
AddKeysToAgent yes
4 Likes