After upgrading, ssh -A
no longer works. Uncomment ForwardAgent no
line the /etc/ssh/ssh_config
and change no
to yes
does not seems to work. This is extremely annoying. In addition, my Mac is password protected.
Previously, after I login, I never needed to enter the password for ssh once I selected something like "unlock keychain for ssh on login", years ago. I don't remember the exact message. I only needed to do it once for every mac I ever owned. However, it now prompts for password when I need to access ssh id_rsa, such as using git
. I deleted the login item in the keychain, and the next time I restarted, try to use ssh, the password prompts appears again, but no prompt asking me if I want the keychain to remember and unlock the key.
Can anyone help or at least explain what changes are made for ssh in the new OS.
Edit
To answer my own question, ssh-add -K
seems to do the trick.