FS#79608 - [openssh] (ssh-agent) Socket base activation approach of ssh-agent does not work first request
Attached to Project:
Arch Linux
Opened by Detlev Brodowski (brody) - Thursday, 07 September 2023, 14:46 GMT
Last edited by Toolybird (Toolybird) - Sunday, 10 September 2023, 20:45 GMT
Opened by Detlev Brodowski (brody) - Thursday, 07 September 2023, 14:46 GMT
Last edited by Toolybird (Toolybird) - Sunday, 10 September 2023, 20:45 GMT
|
Details
Description:
The socket base activation approach of ssh-agent does not work for the first request. Ssh-agent clients like keepassxc or `ssh-add` expect a running ssh-agent service and cannot handle a service that is just started with this first request. However, the ssh-agent service is started only after the first request. Additional info: * package version(s): 9.4p1 * config and/or log files etc.: /usr/lib/systemd/user/ssh-agent.service and /usr/lib/systemd/user/ssh-agent.socket * link to upstream bug report, if any Steps to reproduce: After a fresh login and the execution of `ssh-add -l` both clients (keepassxc resp. ssh-add) are hanging without any feedback. With the help of journalctl you can see that although running `ssh-add -l` starts the ssh-agent service, it does not yet work for this 1st request. Only canceling `ssh-add -l` and executing it again gives the desired result. A workaround would be to use the systemd unit file `/usr/lib/systemd/user/ssh-agent.service` alone, with a slightly modified content. See the attachment. Kind regards Detlev |
This task depends upon
Closed by Toolybird (Toolybird)
Sunday, 10 September 2023, 20:45 GMT
Reason for closing: Fixed
Additional comments about closing: openssh 9.4p1-4
Sunday, 10 September 2023, 20:45 GMT
Reason for closing: Fixed
Additional comments about closing: openssh 9.4p1-4
That is indeed correct and I will revise the package.
Please test 9.4p1-4 in [core-testing] and provide feedback!
Thanks and best regards
Detlev