Score:0

ssh-agent sees no keys on default location

za flag

After update to Ubuntu 22.10 every time I use SSH keys (for remote connection or git access) it asks for the key passphrase. As I understand ssh-agent should be running and managing my existing keys, but is seems something is wrong and it keeps asking everytime:

ilja@host:~$ ssh hostname
Enter passphrase for key '/home/ilja/.ssh/id_rsa': 

ilja@host:~/code$ git pull
Enter passphrase for key '/home/ilja/.ssh/id_rsa': 
Already up to date. 

ilja@host:~$ ls -l ~/.ssh
total 68
-rw------- 1 ilja ilja   557 lapkr.  8 17:07 id_ecdsa
-rw-r--r-- 1 ilja ilja   183 lapkr.  8 17:07 id_ecdsa.pub
-rw------- 1 ilja ilja  2635 gruod.  1  2020 id_rsa
-rw------- 1 ilja ilja   575 bal.   26  2020 id_rsa.pub
-rw------- 1 ilja ilja 22913 lapkr.  4 15:50 known_hosts

ilja@host:~$ ps ax |grep ssh-agent
   2120 ?        Ssl    0:00 /usr/libexec/gcr-ssh-agent /run/user/1000/gcr
   2123 ?        Ss     0:00 ssh-agent -D -a /run/user/1000/openssh_agent

ilja@host:~$ ssh-add -l
The agent has no identities.

Any help?

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.