These vars do not appear to be public despite the export command:
$ env | grep SSH
$
I have browsed through Seahorse, gnome’s security app. No help there.
The aforementioned post provides debug output from ssh. The conclusion is: there is no authentication agent. The connection process proceeds the same to the point where an agent is requested.
I updated Tumbleweed since that post. I can no longer create passwordless logins, period.
Where is an authentication agent started?
Is it part of ssh? Or gnome? Or … ?
I use ssh to update remote websites. In the past I had created a passwordless login for each site I maintain. It worked flawlessly for years. Until it did not, several months ago when a password became required at each login.
@jimbobrae so if gpg-agent isn’t running what happens?
On the remote hosts is the sshd config allow password login etc? I have no issues here with multiple systems running GNOME/Hyprland/multi-user connecting over ssh, cockpit client (uses ssh), qemu and sshfs. If I want direct root access, then I do need to configure the remote to allow.
No configuration changes on the remote sites with respect to sshd?
If you create a test user and login as that user, does the issue duplicate?
Not the correct name for it. What I meant was public key authentication - so you set a public key/private key pair, put the public key in the ~/.ssh/known_hosts file on the target system (make sure the permissions are right), and then when you log in with the username on that host via SSH, as long as the server is configured to support public key authentication, you don’t have to enter a password.
Yes. It is what I had done years ago and it worked as expected. Until it did not a few months ago.
Clearly something changed. The troubleshooting has narrowed to a missing authentication agent. And here I am stuck. Is it a problem with Gnome? A problem with ssh? ssh-agent? gnome-keyring-daemon? Some other problem? A configuration issue?
I would not know; it is a hosting service. None of our account’s ssh data changed.
When I first created the key pair years ago, ssh defaulted to an RSA algorithm. The hosting service had since decided RSA was no longer good enough; it did grandfather it. I made a new pair anyway using Elliptic Curve (ED25519). It made no difference.
See the first post.
I suspect gnome-keyring-daemon is defective by not providing an authentication agent ssh expects as is explained in the keyring’s man page. It did in the past.
You might need to run ssh -vv remote-host again and just check. To me it all points at the remote system, sure your using the right id_ed25519 and id_ed25519.pub files…
It is a simple app that creates the necessary bits and pieces for ssh-agent to function. Its only drawback is the lack of permanent retention of passwords; it is effective only until a reboot (it does survive account logout), at which time I must enter the passwords again.
To install keychain all I needed to do was add a line of script to .bashrc. Passwordless logins work again!