GNOME Bugzilla – Bug 730126
gnome-keyring should not try all keys found below ~/.ssh for any given connection
Last modified: 2021-06-18 10:39:47 UTC
When trying to connect via ssh (out of an xterm in XFCE) to localhost (as well as others) I get errors as follows: "Received disconnect from 127.0.0.1: 2: Too many authentication failures for root" Whe trying the same from the machine's console it worked however. While the system itself is a newly insalled and most recently patched OpenSuSE 13.1, the users home and most of the system wide config files are from an older (OpenSuSE 12.3) system and therefore heavily tested. After stumbling upon the following ubuntu bug report: https://bugs.launchpad.net/ubuntu/+source/gnome-keyring/+bug/1195911 I at first removed some of my public/private key pairs below ~/.ssh to be sure to be affected by the same bug. With 6 or less key pairs below ~/.ssh I was able to connect again via ssh So it seems each and every key gets tried and when hitting "max count for authentication errors" of the sshd one gets bounced. Finally I deinstalling every package related to gnome-keyring and restored the deleted key pairs. Now (without gnome-keyring installed) for me beverything is working again as expected. Burt for those in need of gnome-keyring this would be no solution
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new ticket at https://gitlab.gnome.org/GNOME/gnome-keyring/-/issues/ Thank you for your understanding and your help.