ccontavalli / ssh-ident

Different agents and different keys for different projects, with ssh.
Other
963 stars 71 forks source link

PATTERN_KEYS = r".*" Not finding keys in ~/.ssh #50

Open vpillinger opened 6 years ago

vpillinger commented 6 years ago

I have created a file ~/.ssh-ident that contains the following

PATTERN_KEYS = r".*"

However. This is not finding my keys.

image

jackm commented 5 years ago

If you did not change the default setting for DIR_IDENTITIES, then ssh-ident will be looking in the directory $HOME/.ssh/identities for any key files. Changing PATTERN_KEYS only changes the file name pattern matching that ssh-ident will use.

Either create the folder $HOME/.ssh/identities and put all of your key files in there, or set DIR_IDENTITIES in the ssh-ident config file as well.