secretive
secretive copied to clipboard
ssh-agent does not forward added keys when Secretive SSH_AUTH_SOCK is added to .zshrc or IdentityAgent added to .ssh/config
MacOS ssh-agent does not forward added keys when Secretive SSH_AUTH_SOCK is added to ~/.zshrc or IdentityAgent added to ~/.ssh/config Identity is visible on MacOS itself, but is not forwarded to the remote system even If implicitly requested with
Host *
ForwardAgent yes
AddKeysToAgent yes
IdentityFile ~/.ssh/some_id_file
IdentityAgent /Users/<username>/Library/Containers/com.maxgoedjen.Secretive.SecretAgent/Data/socket.ssh
ssh-add -L on the target ssh box simply does not show the forwarded keys.
Likely symptoms in https://github.com/maxgoedjen/secretive/issues/392#issue-1296101197, but in my case any attempt fails. Checked on MacOS 12.2.1-12.5 OpenSSH_8.6p1, LibreSSL 2.8.3 - OpenSSH_8.6p1, LibreSSL 3.3.6
I've noted the same issues. Agent forwarding does not function as expected.