systemd service that needs .ssh/id_dsa password

view full story

http://unix.stackexchange.com – I have a systemctl service that starts a process smd-loop in a screen session. This process requires acces to remote SSH sources (for syncing purposes) and thus needs to be able to access my id_dsa private key. How can I set up the systemd service so that it will work? The following service starts the process correctly but requires me to attach to the screen session and manually type in the id_dsa password. [Unit] Description=smd loop After=local-fs.target network.target [Service] User=%i Group=users Type=Forking ExecStart=/usr/bin/screen -S smd-loop-win -md "smd-loop" RemainAfterExit=yes (HowTos)