📅  最后修改于: 2022-03-11 14:50:12.358000             🧑  作者: Mango
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