ssh -R 0.0.0.0:8080:localhost:80 user@remote-server #Then, update /etc/ssh/sshd_config on the remote server: GatewayPorts yes sudo systemctl restart ssh ps aux | grep ssh sudo apt install autossh autossh -N -R 0.0.0.0:8080:localhost:80 user@remote-server #for run in background autossh -f -N -R 0.0.0.0:8080:localhost:80 user@remote-server /usr/lib/autossh/autossh -N -R 0.0.0.0:8080:localhost:80 coders@159.203.62.98 ssh -R 2222:localhost:22 coders@159.203.62.98 ssh -N -R 2222:localhost:22 coders@159.203.62.98 ssh -o "ProxyCommand none" -p 2222 atlasash@45.45.24.101 "ls /home/atlasash/"