• 4
name Punditsdkoslkdosdkoskdo

since I updated to Sierra macOS is asking my ssh passphrase

It used to remember the passphrase, but now it's asking it to me each time.

I've read that I need to regenerate the public key with this command, which I did:

ssh-keygen -y -f id_rsa >

but it didn't fix anything.

How can I make macOS remember my passphrase again?

In the latest version of macOS (10.12.2), this is easy to fix. Just edit your ~/.ssh/config and enable the UseKeychain option:

Host *
    UseKeychain yes

There is no need to change anything else. Now everything works the way it used to work before the latest updates. You do not need to add keys to ssh-agent.


  • 0
Reply Report

Related Questions

Trending Tags