funtoo / keychain

keychain ssh-agent front-end
http://www.funtoo.org
GNU General Public License v2.0
750 stars 104 forks source link

Keychain on Wayland #148

Open ldpercy opened 6 months ago

ldpercy commented 6 months ago

FYI if anyone needs it:

Keychain recently stopped working for me on a KDE Neon machine that's just been updated to plasma6+wayland.

Previously I'd been using something like this in my .bashrc:

eval 'keychain --agents ssh --eval ~/.ssh/authentication-key ~/.ssh/signing-key'

That works fine on x11, but after a bit of trial and error I found I needed to change the inherit behaviour - this works for wayland sessions:

eval 'keychain --inherit any-once --agents ssh --eval ~/.ssh/authentication-key ~/.ssh/signing-key'

I'm not too clear on ssh forwarding so if anyone can explain I'd appreciate it.

Cheers