funtoo / keychain

keychain ssh-agent front-end
http://www.funtoo.org
GNU General Public License v2.0
750 stars 104 forks source link

Add support for SSH_CONFIG regular expressions #74

Open e2thenegpii opened 7 years ago

e2thenegpii commented 7 years ago

SSH config files can have regular expressions that will apply options to any matching hostname. For example consider the following:

Host myhost-*
  IdentityFile ~/.ssh/keys/myhostkey

Host myhost-external
  Hostname external_url
  Port 2222
Host myhost-internal
  Hostname internal_url
  Port 22

keychain will fail to find the private key for myhostkey because myhost-* won't match the keyname, however this is a perfectly legal ssh config.

danielrobbins commented 7 years ago

This issue has been imported into the Funtoo Linux bug tracker. This helps us to ensure that your bug is prioritized and gets the attention it deserves. You are welcome to create a Funtoo account and participate in the Funtoo Linux workflow or follow-up in the GitHub issue (comments are not currently synchronized.) Follow the action here: https://bugs.funtoo.org/browse/FL-3553