At the end of the log you find:
822413 connect(4, {sa_family=AF_UNIX, sun_path="/run/user/1000/gcr/ssh"}, 110) = 0
...
822413 read(4,
meaning it’s trying to interact with the ssh-agent, but it (finally) doesn’t give a response.
Use the lsof
command to figure out which program is providing the agent service and try to resolve issue that way. If it’s not the OpenSSH ssh-agent, then maybe you can disable its ssh-agent functionality and use real ssh-agent in its place…
My wild guess is that the program might be trying to interactively verify the use of the key from you, but it is not succeeding in doing that for some reason.
Do you have that file? If not, then
unset SSH_AUTH_SOCK
will work just as well.If it does exist, then I suppose it has good chances of working correctly :).
ssh-add -l
will try to use that socket and list your keys in the service (or list nothing if there are no keys, but it would still work without error).