allow specifying socket path for ssh-agent
Submitted by Petr Cerny [:hrosik]
Assigned to Xfce Bug Triage
Description
Created attachment 5485 patch enabling passing the -a option to ssh-agent
Sometimes it is useful to specify a path to ssh-agent socket (using the -a option) - for example if one is running terminal multiplexer session(s) and the ssh-agent quits (or dies) for some reason, respawning it with the same socket path allows reuse in the terminal multiplexer session, because the $SSH_AUTH_SOCK environment variable still points to a valid socket.
The attached patch introduces new string property /startup/ssh-agent/socket in the xfconf channel which - if present - is interpreted as a path to the socket to be created.
This patch does not address the case in which there already is a running agent listening on that socket - since then ssh-agent doesn't return any environment variables to be set.
Patch 5485, "patch enabling passing the -a option to ssh-agent":
xfce4-session-4.10.1-ssh_agent_socket_path.patch
Version: 4.10.1