webrlvr/scripts/portforward.sh
2025-06-17 09:53:40 +00:00

6 lines
194 B
Bash
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 用于将网站的mysql端口转发到本地保证稳定性
autossh -M 0 -f -N -o "ServerAliveInterval 30" \
-o "ServerAliveCountMax 3" \
-L 23306:localhost:23306 yuyr@g14