https://github.com/bmhatfield/keychain-agent-keyloader
Loads an encrypted private key into an ssh-agent via the OSX Keychain
https://github.com/bmhatfield/keychain-agent-keyloader
keychain osx sierra ssh-agent
Last synced: 6 months ago
JSON representation
Loads an encrypted private key into an ssh-agent via the OSX Keychain
- Host: GitHub
- URL: https://github.com/bmhatfield/keychain-agent-keyloader
- Owner: bmhatfield
- Created: 2017-03-28T04:37:51.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-28T14:05:48.000Z (about 9 years ago)
- Last Synced: 2025-06-04T03:37:50.912Z (11 months ago)
- Topics: keychain, osx, sierra, ssh-agent
- Language: Go
- Size: 2.93 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# EXPERIMENTAL
### Keychain ssh-agent keyloader
This tool is designed to decrypt an encrypted SSH private key and load it into a running ssh-agent (similar to `ssh-add` functionality), with the added twist of getting the passphrase from the OSX Keychain.
This functionality (`ssh-add -K`) existed prior to OSX Sierra; now it depends on custom `.ssh/config` settings instead; perhaps you run a non-Apple version of SSH, perhaps you like to share your `.ssh/config` as part of a dotfiles repo - either way, the custom config options won't work for you. This tool is designed to help that.
Currently super experimental (is your environment exactly like mine?), but functional. Needs a lot more work. Loading the key into the Keychain is an exercise left up to the careful reader. The command line tool `security` is your friend.