Hello testpi and thanks for this bug report. Can you reproduce this issue from a fresh install on the Raspberry, and attempting a simple ssh login instead of a git clone? Something on these lines:
----- ssh-keygen cp ~/.ssh/id_rsa.pub ~/.ssh/authorized_keys killall ssh-agent || true eval $(ssh-agent) ssh-add ssh localhost ----- I'll try to reproduce this issue myself but I don't have access to a Rpi4 at the moment, but I should have soon. As we're waiting for more information here I'm marking this report as Incomplete for now. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/1968876 Title: ssh-agent: Error connecting to agent: Connection refused Status in openssh package in Ubuntu: New Bug description: ProblemType: Bug DistroRelease: Ubuntu 22.04 Package: openssh 1:8.9p1-3 Architecture: arm64 CasperMD5CheckResult: pass CurrentDesktop: MATE raspberry pi 4. The keys are added, but for example, when cloning a repository via ssh, the ssh agent crashes, restarting does not help, the repository is not cloned. When launch the command ssh-add -L Error connecting to agent: Connection refused. I rolled back to the package version 1: 8.8p1-1 and everything works fine. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1968876/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp