Cant seem to run ssh script as a service

I assume you set up a ssh key? Follow this guide to get it to work from ha.