sign_and_send_pubkey: signing failed: agent refused operation – SOLVED

To solve this problem, you can run:

ssh-add