[Bug 2216] New: allow forwarding a different socket than SSH_AUTH_SOCK

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Tue Mar 25 02:30:56 EST 2014


https://bugzilla.mindrot.org/show_bug.cgi?id=2216

            Bug ID: 2216
           Summary: allow forwarding a different socket than SSH_AUTH_SOCK
           Product: Portable OpenSSH
           Version: 6.5p1
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: ssh
          Assignee: unassigned-bugs at mindrot.org
          Reporter: chrysn at fsfe.org

when a user has different ssh agents running, or is using
ssh-agent-filter[1], it is desirable to use one ssh agent for
authenticating against the remote server, but to forward another one.

ssh could have a `ForwardAgentSocket` option, which specifies a
different socket, and defaults to `${SSH_AUTH_SOCK}`. whether it's
feasible to evaluate variables in that option (so a user could put
`Host * / ForwardAgentSocket ${SSH_AUTH_SOCK_ONLYGITKEYS}` in a git
config) is up to the way the config file is handled. the option should
be accepted by `-o` too.

together with ssh-agent-filter, or by running separate agents for work
and linux, this would solve the bug #1937 without further workarounds.

[1] https://github.com/tiwe-de/ssh-agent-filter

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list