summaryrefslogtreecommitdiff
path: root/port-forward/persistent-ssh.sh
diff options
context:
space:
mode:
Diffstat (limited to 'port-forward/persistent-ssh.sh')
-rwxr-xr-xport-forward/persistent-ssh.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/port-forward/persistent-ssh.sh b/port-forward/persistent-ssh.sh
index 086bfc6..3021825 100755
--- a/port-forward/persistent-ssh.sh
+++ b/port-forward/persistent-ssh.sh
@@ -1,5 +1,8 @@
1#!/bin/bash 1#!/bin/bash
2 2
3echo "make sure /root/m exists"
4echo "remember to change the remote port or host if needed"
5
3sudo cat << 'EOF' > /etc/systemd/system/ssh-tunnel.service 6sudo cat << 'EOF' > /etc/systemd/system/ssh-tunnel.service
4[Unit] 7[Unit]
5Description=Persistent SSH Tunnel 8Description=Persistent SSH Tunnel