Commit graph

5 commits

Author SHA1 Message Date
Benedikt Rips
89c9508bbe ssh-agent: set $SSH_AUTH_SOCK in non-interactive shells
Since PR #8099, the module sets `$SSH_AUTH_SOCK` through shells' options
for interactive shell initialization instead of
`home.sessionVariablesExtra`. The replacement was not faithful, however,
since `home.sessionVariablesExtra` is sourced also in non-interactive
shells. With this commit, the shells' profile options (where
`home.sessionVariablesExtra` is sourced) are used to set
`$SSH_AUTH_SOCK`.

Fixes #8129.
2025-12-17 08:15:55 -06:00
XYenon
c053d701d6 ssh-agent: add macOS support 2025-11-08 22:10:01 -06:00
Simon Gate
39d26c1686
ssh-agent: add defaultMaximumIdentityLifetime setting (#7876)
Add option to ssh-agent to add a default value for the maximum lifetime
of identities added to the agent.
2025-09-25 09:26:39 -05:00
Benedikt Rips
94a238f9c1 ssh-agent: add option for the socket name 2025-08-18 21:16:27 -05:00
Austin Horstman
cec4c1be7e tests/ssh-agent: add test coverage
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-29 14:46:54 -05:00