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

-- 
xubuntu-users mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/xubuntu-users

Reply via email to