Hi all,
After a TW update in the last few weeks, ssh with ssh-agent did
no longer work with my established setup. (I did not verify the
problem with a pristine user account, though).
I have set up my system (a loooong time ago... ;)) so that the
ssh key is stored somehow in gnome-keyring-daemon and gets unlocked
upon login.
The ssh-agent knows the key:
seife@strolchi:~> ssh-add -l
1024 SHA256:96ejSSf7kXLZRWhEE4oJUk20+RukUpSJOu4elrVABCU seife@strolchi (RSA)
...but it did not work:
seife@strolchi:~> ssh server
sign_and_send_pubkey: signing failed: agent refused operation
Password:
If I now refreshed the agent with "ssh-add", and entered my
passphrase, then ssh without password did work.
The journal showed the following:
Apr 08 18:28:41 strolchi gnome-keyring-daemon[1868]: the /usr/bin/ssh-add command failed: Child process exited with code 1
Apr 08 18:28:41 strolchi gnome-keyring-daemon[1868]: ssh_askpass: exec(/usr/lib/gcr-ssh-askpass): No such file or directory
So the solution was to install the gcr-ssh-askpass package (which
provides /usr/lib/gcr-ssh-askpass) and now everything is working
as before.
Hope this helps someone ;-)
--
Stefan Seyfried
"For a successful technology, reality must take precedence over
public relations, for nature cannot be fooled." -- Richard Feynman
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-factory+owner(a)opensuse.org