I'm getting an error when using ssh, which tries to use keys from ssh-agent, but fails with this message (when running ssh -v
):
debug1: get_agent_identities: ssh_fetch_identitylist: communication with agent failed
I can see both of my keys added to the agent when running ssh-add -l
:
$ ssh-add -l
3072 SHA256:0i3sqR60WRsAOpFVJyw951NUDW01jkAWFB1na921Asd xxxxxx@somehost (RSA)
4096 SHA256:CG6njka821AOd82j1xGFkyiOjwG/yo921KAIOWm3t/4 xxxxxx@anotherhost (RSA)
The same error appears with no keys or one key inside the agent.
I'm running the fish shell on Archlinux, and also tried this under bash, but it doesn't seem to make a difference. The same setup was working for me on Ubuntu. There seem to be no questions about this exact issue, and I'm stuck with no clues.