The Problem
I recently installed Kubuntu 16.04.2 on my computer. Since then, I can no longer use my ssh keys to access bitbucket and github repositories. On the old system (Ubuntu 14.04) a pop-up with the title "Unlock private key" appeared for the first use of the key (asking for my passphrase) and I was set for the rest of the session.
Since the update I get the following error:
$ git pull
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
This is due to the fact that the key has not been added to the ssh-agent (yet). I can do this manually using:
$ ssh-add ~/.ssh/my_key
Enter passphrase for .ssh/my_key:
which is a workaround.
Question
While the above workaround might do the trick and there are options to automate it (see link below), I would prefer to have the old functionality back where I am automatically queried for my passphrase at first use.
What could I (my system) be missing for this to work? I am not 100% about what parts/ programs are involved.
Additional Information
Not sure if this is relevant, but I am using LDAP, so I kept the content of my home folder when moving from Ubuntu 14.04 (with Unity) to 16.04 (with KDE).
For my email encryption keys, the behavior has not changed and I am asked for the passphrase via pop-up.
There is another question dealing with a similar problem. This however deals with a different version and has a different goal (They make it work on console, I would like my pop-up back).