Skip to content

Instantly share code, notes, and snippets.

drmalex07 /
Last active Oct 9, 2020
Setup a secure (SSH) tunnel as a systemd service. #systemd #ssh #ssh-tunnel #ssh-forward


Create a template service file at /etc/systemd/system/secure-tunnel@.service. The template parameter will correspond to the name of target host:

Description=Setup a secure tunnel to %I
You can’t perform that action at this time.