Despite ssh-add
claiming my key was succesfully added, it was clear ssh-agent was not fowarding my keys: ssh from remote servers into a second remote serviers were not working; capitrano deploy
stoped working
The clue was the output: error fetching identities: invalid format
when doing ssh-add -l
$ ssh-add ./id_2021
Enter passphrase for ./id_2021:
Identity added: ./id_2021 (./id_2021)
$ ssh-add -l
error fetching identities: invalid format
I've tried making new keys but I still get this error.