debcrafters-packages team mailing list archive
-
debcrafters-packages team
-
Mailing list archive
-
Message #08026
[Bug 2125549] Re: ssh agent no longer work a questing upgrade
Okay, I confirmed that it's wrong to assume that:
ExecStartPost=/usr/bin/systemctl --user set-environment
SSH_AUTH_SOCK=/run/user/1000/openssh_agent
will do the right thing in the general case. This does correctly set the
environment in the user manager, and if you launch an application like
e.g.:
$ systemd-run --user --wait --pipe -q -- ssh-add
then the environment is inherited, and $SSH_AUTH_SOCK is set. But, if
one has a session spawned by login(1), this is not going to happen.
Maybe as a quick fix, we could patch openssh to try
$XDR_RUNTIME_DIR/openssh_agent (the default) if $SSH_AUTH_SOCK is unset.
--
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