Browse Source

Remove ssh and vnc tunnel services

master
Maxime Wack 2 years ago
parent
commit
675ac747b1
2 changed files with 0 additions and 28 deletions
  1. +0
    -14
      .config/systemd/user/ssh-tunnel.service
  2. +0
    -14
      .config/systemd/user/vnc-tunnel.service

+ 0
- 14
.config/systemd/user/ssh-tunnel.service View File

@@ -1,14 +0,0 @@
[Unit]
Description=ssh tunnel to home
Wants=network-online.target
After=network-online.target

[Service]
Type=simple
Environment="SSH_AUTH_SOCK=%t/ssh-agent.socket"
ExecStart=/usr/bin/ssh -NR 7000:localhost:22 home
Restart=always
RestartSec=7

[Install]
WantedBy=default.target

+ 0
- 14
.config/systemd/user/vnc-tunnel.service View File

@@ -1,14 +0,0 @@
[Unit]
Description=vnc tunnel to home
Wants=network-online.target
After=network-online.target

[Service]
Type=simple
Environment="SSH_AUTH_SOCK=%t/ssh-agent.socket"
ExecStart=/usr/bin/ssh -NR 5901:localhost:5901 home
Restart=always
RestartSec=7

[Install]
WantedBy=default.target

Loading…
Cancel
Save