ssh agent no longer work a questing upgrade
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| gcr4 (Ubuntu) |
Won't Fix
|
Critical
|
Unassigned | ||
| openssh (Ubuntu) |
Fix Released
|
Critical
|
Nick Rosbrook | ||
| xubuntu-meta (Ubuntu) |
Confirmed
|
Critical
|
Unassigned | ||
Bug Description
ssh agent worked fine in XUbuntu 25.04. After upgrading to 25.10 (beta) it no longer works.
* ssh-add reports "Could not open a connection to your authentication agent."
* ssh keeps asking for key password
* there is no graphical dialog asking for passwords when adding ssh-keys anymore
* no SSH variable in terminal environment
ProblemType: Bug
DistroRelease: Ubuntu 25.10
Package: openssh-client 1:10.0p1-5ubuntu4
ProcVersionSign
Uname: Linux 6.17.0-4-generic x86_64
NonfreeKernelMo
ApportVersion: 2.33.1-0ubuntu2
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: XFCE
Date: Wed Sep 24 07:58:24 2025
InstallationDate: Installed on 2017-09-26 (2920 days ago)
InstallationMedia: Ubuntu-Server 17.10 "Artful Aardvark" - Alpha amd64 (20170924)
RelatedPackageV
ssh-askpass N/A
libpam-ssh N/A
keychain N/A
ssh-askpass-gnome N/A
SSHClientVersion: OpenSSH_10.0p2 Ubuntu-5ubuntu4, OpenSSL 3.5.2 5 Aug 2025
SourcePackage: openssh
UpgradeStatus: Upgraded to questing on 2025-09-22 (2 days ago)
| Changed in openssh (Ubuntu): | |
| status: | Confirmed → In Progress |

This appears to be a breakage related to ssh-agent.socket.
On my questing system, ssh-socket.service is listening on $XDG_RUNTIME_ DIR/openssh_ agent, but SSH_AUTH_SOCK is not set in my environment.
ubuntu@q-vm:~$ systemctl --user status ssh-agent.socket systemd/ user/ssh- agent.socket; enabled; preset: enabled) 386666cc05887bd d3 1000/openssh_ agent (Stream) /usr/bin/ systemctl --user set-environment SSH_AUTH_ SOCK=/run/ user/1000/ openssh_ agent (code=exited, status=0/SUCCESS) user-1000. slice/user@ 1000.service/ app.slice/ ssh-agent. socket
● ssh-agent.socket - OpenSSH Agent socket
Loaded: loaded (/usr/lib/
Active: active (listening) since Wed 2025-09-24 13:49:25 UTC; 6min ago
Invocation: 23fe2f1f95f04f8
Triggers: ● ssh-agent.service
Docs: man:ssh-agent(1)
Listen: /run/user/
Process: 25258 ExecStartPost=
Tasks: 0 (limit: 986)
Memory: 4K (peak: 1.7M)
CPU: 4ms
CGroup: /user.slice/
Sep 24 13:49:25 q-vm systemd[25248]: Starting ssh-agent.socket - OpenSSH Agent socket...
Sep 24 13:49:25 q-vm systemd[25248]: Listening on ssh-agent.socket - OpenSSH Agent socket.
ubuntu@q-vm:~$ env | grep SSH_
It's unclear to me if the `systemctl --user set-environment` call in ssh-agent.socket is intended to hook things up in the user session, but that's not what it does.
I will keep digging.
See also:
https:/ /bugs.debian. org/cgi- bin/bugreport. cgi?bug= 961311 /bugs.debian. org/cgi- bin/bugreport. cgi?bug= 1039919 /bugs.debian. org/cgi- bin/bugreport. cgi?bug= 1103037
https:/
https:/