dev-resources.site
for different kinds of informations.
Unlocking your SSH key through OSX keychain
Published at
11/8/2024
Categories
ssh
osx
Author
Michal BryxÃ
The problem
Using passphrases for SSH keys is a very good idea, but since UX is inherent part of security I would advise on adding your SSH key to the ssh-agent to prevent password re-type fatigue & mishaps.
The solution
Follow along the documents above or try this shortened version:
- Add following line to your
~/.zshrc
:
ssh-add --apple-use-keychain ~/.ssh/id_rsa 2> /dev/null
- Add following lines to yours
~/.ssh/config
:
Host *
UseKeychain yes
AddKeysToAgent yes
IdentityFile ~/.ssh/id_rsa
Articles
12 articles in total
Unlocking your SSH key through OSX keychain
currently reading
Microsoft 365 Outlook calendar in Todoist
read article
OSX Sequoia & Operation not permitted (os error 1)
read article
Installing EmberJS v2 addons from GitHub forks using PNPM
read article
Google Photos & undismissable notification in Utilities
read article
How I Manage Node & Package Manager Versions
read article
Add custom layer to embe-leaflet
read article
ERR_PNPM_BAD_PM_VERSION This project is configured to use vX of pnpm. Your current pnpm is vY
read article
How to un-trash Obsidian attachments
read article
npx alternative for pnpm
read article
A love letter to Web browsers
read article
Migrate heroku database to on-prem PostgreSQL
read article
Featured ones: