📜  通过永久创建隧道 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:12.358000             🧑  作者: Mango

代码示例1
For RHEL/CENTOS"
yum install autossh

For ubuntu:
apt-get install autossh

After installation ::

autossh -M 0 -f -q -N -L LOCAL_PORT:REMOTE_HOST:REMOTE_PORT SSH_USER@SSH_HOST