Resolving SSH Error : ‘Agent admitted failure to sign using the key.’

It took me a while to find an answer on the internet for this one so i thought i would share it for others.


Upon making a new keypair with something like


and then sharing your public key with the host of your choice, sometimes you get the following ambiguous error

This stumped me for a while but evenually i found out that a simple

did the trick *sideways smileyface*