← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2125549] Re: ssh agent no longer work a questing upgrade

 

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/user@1000.service/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
Debcrafters packages, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/2125549

Title:
  ssh agent no longer work a questing upgrade

Status in openssh package in Ubuntu:
  Confirmed

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
  ProcVersionSignature: Ubuntu 6.17.0-4.4-generic 6.17.0-rc5
  Uname: Linux 6.17.0-4-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.33.1-0ubuntu2
  Architecture: amd64
  CasperMD5CheckResult: unknown
  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)
  RelatedPackageVersions:
   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)

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



References