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
● ssh-agent.socket - OpenSSH Agent socket
     Loaded: loaded (/usr/lib/systemd/user/ssh-agent.socket; enabled; preset: 
enabled)
     Active: active (listening) since Wed 2025-09-24 13:49:25 UTC; 6min ago
 Invocation: 23fe2f1f95f04f8386666cc05887bdd3
   Triggers: ● ssh-agent.service
       Docs: man:ssh-agent(1)
     Listen: /run/user/1000/openssh_agent (Stream)
    Process: 25258 ExecStartPost=/usr/bin/systemctl --user set-environment 
SSH_AUTH_SOCK=/run/user/1000/openssh_agent (code=exited, status=0/SUCCESS)
      Tasks: 0 (limit: 986)
     Memory: 4K (peak: 1.7M)
        CPU: 4ms
     CGroup: 
/user.slice/user-1000.slice/[email protected]/app.slice/ssh-agent.socket

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
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1039919
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1103037

** Bug watch added: Debian Bug tracker #961311
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=961311

** Bug watch added: Debian Bug tracker #1039919
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1039919

** Bug watch added: Debian Bug tracker #1103037
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1103037

** Changed in: openssh (Ubuntu)
       Status: New => Confirmed

** Changed in: openssh (Ubuntu)
   Importance: Undecided => Critical

** Changed in: openssh (Ubuntu)
     Assignee: (unassigned) => Nick Rosbrook (enr0n)

** Changed in: openssh (Ubuntu)
    Milestone: None => ubuntu-25.10

** Tags added: dcr-incoming

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2125549

Title:
  ssh agent no longer work a questing upgrade

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/2125549/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to