diff options
| author | hc <hc@email.ch> | 2024-11-23 17:39:02 +0800 |
|---|---|---|
| committer | hc <hc@email.ch> | 2024-11-23 17:39:02 +0800 |
| commit | 50c5e7a8f7d4fedec41af994dc97987bb24c02ed (patch) | |
| tree | 5d90acef0ee06e0805fd685fb2712c72260f3ff3 /port-forward/persistent-ssh.sh | |
| parent | ba9539a4f49d722063e5a322133c89affd6a9fb7 (diff) | |
comments autossh
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 @@ #!/bin/bash +echo "make sure /root/m exists" +echo "remember to change the remote port or host if needed" + sudo cat << 'EOF' > /etc/systemd/system/ssh-tunnel.service [Unit] Description=Persistent SSH Tunnel |
