[MacPorts] #54286: Keychain integration no longer works after upgrading to macOS Sierra
MacPorts
noreply at macports.org
Thu Jun 8 11:38:57 UTC 2017
#54286: Keychain integration no longer works after upgrading to macOS Sierra
--------------------------+--------------------
Reporter: Feuermurmel | Owner:
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.4.1
Resolution: wontfix | Keywords:
Port: openssh |
--------------------------+--------------------
Comment (by Feuermurmel):
Ahumm. This was not obvious for me. I have to use macOS' `/usr/bin/ssh-
add` to manage the identities stored in the ssh-agent, even though I'm
using MacPorts' `/opt/local/bin/ssh` to then use those identities. So
something like this:
{{{#!sh
$ # Add the passwords to the user's keychain and the keys to the agent.
$ /usr/bin/ssh-add -K
Enter passphrase for /Users/michi/.ssh/id_rsa:
Identity added: [...]/.ssh/id_rsa ([...])
Identity added: [...]/.ssh/id_ed25519 ([...])
$ # After a reboot, add the keys to the agent again.
$ /usr/bin/ssh-add -A
Identity added: [...]/.ssh/id_rsa ([...])
Identity added: [...]/.ssh/id_ed25519 ([...])
$ # Connect using MacPorts' `ssh`.
$ ssh [...]
}}}
I just hope the versions of OpenSSH provided by macOS and MacPorts never
have incompatible in a way that breaks this interaction.
--
Ticket URL: <https://trac.macports.org/ticket/54286#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list