[Unit] Description=Portfw homeassistant to minad.de After=network.target [Service] User=brot_homeassistant_portfw ExecStart=/usr/bin/ssh -NT -o ServerAliveInterval=30 -o ExitOnForwardFailure=yes -R 47443:localhost:80 brot_homeassistant_portfw@minad.de -p 55555 # Immer restarten, aber nicht hektisch loopen RestartSec=15 Restart=always [Install] WantedBy=multi-user.target