Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ssh-add --apple-load-keychain to ssh module #2027

Open
aiguofer opened this issue Dec 15, 2022 · 0 comments
Open

Add ssh-add --apple-load-keychain to ssh module #2027

aiguofer opened this issue Dec 15, 2022 · 0 comments

Comments

@aiguofer
Copy link

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.

@aiguofer aiguofer changed the title Add ssh-add --apple-load-keychain Add ssh-add --apple-load-keychain to ssh module Dec 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant