! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
allow specifying socket path for ssh-agent
Status:
RESOLVED: MOVED
Severity:
enhancement
Product:
Xfce4-session
Component:
General

Comments

Description Petr Cerny [:hrosik] 2014-05-07 19:30:02 CEST
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.
Comment 1 Petr Cerny [:hrosik] 2015-05-11 23:09:36 CEST
Created attachment 6241 
patch enabling passing the -a option to ssh-agent (4.12.1)

rebase to 4.12.1
Comment 2 Git Bot editbugs 2020-05-26 00:45:56 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfce4-session/-/issues/23.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #10880

Reported by:
Petr Cerny [:hrosik]
Reported on: 2014-05-07
Last modified on: 2020-05-26

People

Assignee:
Xfce Bug Triage
CC List:
2 users

Version

Version:
4.10.1

Attachments

Additional information