diff options
Diffstat (limited to 'port-forward/persistent-ssh.sh')
| -rwxr-xr-x | port-forward/persistent-ssh.sh | 3 |
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 | ||
| 3 | echo "make sure /root/m exists" | ||
| 4 | echo "remember to change the remote port or host if needed" | ||
| 5 | |||
| 3 | sudo cat << 'EOF' > /etc/systemd/system/ssh-tunnel.service | 6 | sudo cat << 'EOF' > /etc/systemd/system/ssh-tunnel.service |
| 4 | [Unit] | 7 | [Unit] |
| 5 | Description=Persistent SSH Tunnel | 8 | Description=Persistent SSH Tunnel |
