[MacPorts] #61888: openssh-8.4p1 dropped support for launchd in ssh-agent
MacPorts
noreply at macports.org
Sat Jan 16 23:29:26 UTC 2021
#61888: openssh-8.4p1 dropped support for launchd in ssh-agent
----------------------+--------------------
Reporter: wcn3 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: openssh |
----------------------+--------------------
Comment (by fhgwright):
What I posted above wasn't intended as a workaround for the current
problem, but rather as a mention of an ''additional'' long-standing
problem that's not limited to the latest version. It also isn't a
"modification" of the system launch agent, but rather a recipe for
deriving a new launch agent from the system version (note the different
file names). I'm not sure if that runs afoul of SIP or not, but it's moot
as long as the agent isn't able to run correctly from `launchd` at all.
There's never an issue with "two competing agents"; you can have as many
agents running as you like (on different sockets). But the ssh client
will only talk to the one whose socket is specified in `SSH_AUTH_SOCK`.
In fact, you can always launch another agent via the traditional method of
`eval $(ssh-agent)`, but the resulting agent is effectively local to the
Terminal window that launched it. The advantage of running it as a
LaunchAgent is that you get one instance shared among all Terminal
windows.
--
Ticket URL: <https://trac.macports.org/ticket/61888#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list