I've created an SSH key (on PC A) to access my GitHub repo (works correctly). Then I copied this key to PC B. For some reason, I can't access the repo from the PC B even if the public and private keys are the same.
Cloning into 'repo'...
sign_and_send_pubkey: signing failed for RSA "/home/milano/.ssh/github-futilestudio" from agent: agent refused operation
sign_and_send_pubkey: signing failed for RSA "milano@milano-lenovo" from agent: agent refused operation
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
What's the reason behind that?
EDIT
Could the reason be the signature at the end of the SSH key?
milano@milano-lenovo
which is obviously a name of the PC A.