Skip to content

Loads an encrypted private key into an ssh-agent via the OSX Keychain

Notifications You must be signed in to change notification settings

bmhatfield/keychain-agent-keyloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

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.

About

Loads an encrypted private key into an ssh-agent via the OSX Keychain

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages