Skip to content

Instantly share code, notes, and snippets.

@klingtnet
Created February 2, 2020 12:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save klingtnet/b1e0ab101d159915d430d9f2672fe1bb to your computer and use it in GitHub Desktop.
Save klingtnet/b1e0ab101d159915d430d9f2672fe1bb to your computer and use it in GitHub Desktop.
Add SSH keys automatically to SSH-Agent

With the Mate desktop environment I faced the problem that SSH keys were not added automatically to my SSH-Agent/Keyring. This worked perfectly with XFCE, though. I just discovered that my ~/.ssh/config did not contain AddKeysToAgent (see man 5 ssh_config for options). After adding AddKeysToAgent=ask the keys are now added as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment