[MacPorts] #61888: openssh-8.4p1 dropped support for launchd in ssh-agent
MacPorts
noreply at macports.org
Wed Jan 6 18:37:43 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):
It's not just "Catalina and above". The ssh-agent provided with some
older OS versions has some sort of soft compatibility issue with some
servers, resulting in a warning on every connection. This was easily
fixed by using the MacPorts ssh-agent, but that has now stopped working.
It's probably a bug that the port doesn't supply the appropriate
LaunchAgent file to cause this agent to be used normally, which is
inconsistent with the usual behavior where MacPorts-installed tools take
precedence over their Apple equivalents. If it did do that, this bug
probably would have been noticed earlier.
The required LaunchAgent is easily derived from Apple's:
{{{
MacPro:~ fw$ diff /System/Library/LaunchAgents/org.openbsd.ssh-agent.plist
/Library/LaunchAgents/org.macports.ssh-agent.plist
6c6
< <string>org.openbsd.ssh-agent</string>
---
> <string>org.macports.ssh-agent</string>
9c9
< <string>/usr/bin/ssh-agent</string>
---
> <string>/opt/local/bin/ssh-agent</string>
}}}
This is on 10.9; I'm not sure how much it varies with the OS version.
--
Ticket URL: <https://trac.macports.org/ticket/61888#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list