If you are getting this ssh error while connection to any remote instance, you might have changed public and private keys recently.
To fix this issue you need to attach your ssh keys with running ssh agent. Run command
If you get warning 'Permissions are too open.' You need to give 400 permission to your ssh keys.
Now it should not show error ' signing failed: agent refused operation' while connecting to remote host.
To fix this issue you need to attach your ssh keys with running ssh agent. Run command
ssh-add
If you get warning 'Permissions are too open.' You need to give 400 permission to your ssh keys.
chmod 400 ~/.ssh/id_rsa chmod 400 ~/.ssh/id_rsa.pub
Now it should not show error ' signing failed: agent refused operation' while connecting to remote host.