Skip to content

Instantly share code, notes, and snippets.

Thomas Koch thkoch2001

Block or report user

Report or block thkoch2001

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@thkoch2001
thkoch2001 / README-setup-tunnel-as-systemd-service.md
Created Feb 5, 2018 — forked from drmalex07/README-setup-tunnel-as-systemd-service.md
Setup a secure (SSH) tunnel as a systemd service. #systemd #ssh #ssh-tunnel #ssh-forward
View README-setup-tunnel-as-systemd-service.md

README

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

[Unit]
Description=Setup a secure tunnel to %I
After=network.target
You can’t perform that action at this time.