[xubuntu-users] Systemd service has no access to login keyring
Matti Pulkkinen
mkjpul at utu.fi
Wed May 2 23:56:18 UTC 2018
I have a systemd service and timer for running a script, which
establishes an SSH connection using a password-protected SSH key. I can
successfully run this script manually from the command line, but it
fails when run by the systemd service. Specifically, it fails with the
message "Permission denied (publickey)".
I suspect that what's happening is that even though I'm running the
service with the --user switch for systemctl, the service doesn't have
access to my login keyring. This same script and service used to work
before when I was on Ubuntu, and the problem only started happening
after I switched to Xubuntu. What can I do to get the same kind of
behavior I had before?
--
Terveisin/With regards,
- Matti Pulkkinen
More information about the xubuntu-users
mailing list