Skip to content

Instantly share code, notes, and snippets.

@mikkeloscar
Created January 5, 2014 20:50
Show Gist options
  • Save mikkeloscar/8273699 to your computer and use it in GitHub Desktop.
Save mikkeloscar/8273699 to your computer and use it in GitHub Desktop.
SystemD service for simple SSH proxy
[Unit]
Description = SSH Proxy for %i
After = network.target
[Service]
ExecStart = /usr/bin/ssh -D 8080 -N %i -p 22
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment