You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been a longtime Linux user and I'm just moving over to Mac. I was having to enter my key passphrase every time I logged in. After some searching I figured out I needed to enable some configs in .ssh/config and add the key using ssh-add --apple-use-keychain <path_to_key>, but it took me a lot more searching to find I needed to add ssh-add --apple-load-keychain -q to my .zshrc.
Since the ssh module is already loading my keys, it'd be nice if it could load the keys from the MacOS keychain in the process. The only thing that complicates this a bit is that it seems the command is different for different MacOS versions, or maybe this is only needed since Ventura.
The text was updated successfully, but these errors were encountered:
aiguofer
changed the title
Add ssh-add --apple-load-keychain
Add ssh-add --apple-load-keychain to ssh module
Dec 15, 2022
I've been a longtime Linux user and I'm just moving over to Mac. I was having to enter my key passphrase every time I logged in. After some searching I figured out I needed to enable some configs in
.ssh/config
and add the key usingssh-add --apple-use-keychain <path_to_key>
, but it took me a lot more searching to find I needed to addssh-add --apple-load-keychain -q
to my.zshrc
.Since the
ssh
module is already loading my keys, it'd be nice if it could load the keys from the MacOS keychain in the process. The only thing that complicates this a bit is that it seems the command is different for different MacOS versions, or maybe this is only needed since Ventura.The text was updated successfully, but these errors were encountered: