Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

So far the best answer I can find is to DIY it with a custom systemd unit file under your home directory that uses Funtoo keychain which is available in the keychain RPM. Funny thing is that wayland on ubuntu starts ssh-agent out-of-the-box without needing to do this set up work.

sudo dnf install keychain
mkdir -p ~/.config/systemd/user/

Create ~/.config/systemd/user/keychain.service

[Unit]
Description=Start keychain

[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/bin/keychain --quiet --systemd --agents ssh

[Install]
WantedBy=default.target

Then of course log into wayland after either logging out or rebooting.

Source: https://eklitzke.org/down-the-ssh-auth-sock-rabbit-hole-a-gnome-adventure

So far the best answer I can find is to DIY it with a custom systemd unit file under your home directory that uses Funtoo keychain which is available in the keychain RPM. Funny thing is that wayland on ubuntu starts ssh-agent out-of-the-box without needing to do this set up work.

sudo dnf install keychain
mkdir -p ~/.config/systemd/user/

Create ~/.config/systemd/user/keychain.service

[Unit]
Description=Start keychain

[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/bin/keychain --quiet --systemd --agents ssh

[Install]
WantedBy=default.target

Enable the keychain service (don't use sudo)

$ systemctl --user enable keychain

Then of course log into wayland after either logging out or rebooting.

Source: https://eklitzke.org/down-the-ssh-auth-sock-rabbit-hole-a-gnome-adventure