Skip to content

Instantly share code, notes, and snippets.

View muzzammil194's full-sized avatar
Working from home

Muzzammil Shaikh muzzammil194

Working from home
View GitHub Profile
muzzammil194 /
Created November 1, 2022 11:06 — forked from drmalex07/
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