2

I migrated to a new computer along with my SSH keys. I have installed keychain, set it up correctly to load the keys.

However, now graphical KDE apps ask for password (e.g. for Git) and do not respect keys added via keychain in shell / terminal.

I see this in terminal:

* keychain 2.8.5 ~ http://www.funtoo.org * Found existing ssh-agent: 142966 * Known ssh key: /home/xxx/.ssh/id_rsa * Known ssh key: /home/xxx/.ssh/github_rsa * Known ssh key: /home/xxx/.ssh/id_rsa.work 

However, that seems to be incorrect as two processes are running with different pids:

ps aux | grep ssh-agent xxx 2307 0.0 0.0 162652 6964 ? Ssl mar26 0:00 /usr/libexec/gcr-ssh-agent --base-dir /run/user/1000/gcr xxx 144071 0.0 0.0 8304 1468 ? Ss 10:44 0:00 ssh-agent -s xxx 144125 0.0 0.0 8436 3632 ? Ss 10:44 0:00 ssh-agent xxx 144626 0.0 0.0 9212 2140 pts/5 S+ 10:49 0:00 grep --color=auto ssh-agent 

I tried killing both, restarting etc., but graphical apps never accept keys added via keychain.

.bashrc contains:

keychain ~/.ssh/id_rsa ~/.ssh/github_rsa ~/.ssh/id_rsa.work 

I also tried to configure SSH_AUTH_SOCK:

echo $SSH_AUTH_SOCK /tmp/ssh-vt37l1auORoj/agent.144071 

Again, this seems to be incorrect, there is not such a process anymore (after killed).

ls /tmp/ssh-*/agent.* /tmp/ssh-SM7TDO6GPDMm/agent.144124 /tmp/ssh-vt37l1auORoj/agent.144070 

(these also do not match pids currently running?!)

Everything run via terminal works without asking for a password.

What could be the issue?

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.