autossh

Run, monitor and restart SSH connections. Auto-reconnects to keep port forwarding tunnels up. Accepts all ssh flags. More information: <https://www.harding.motd.ca/autossh>.

Debian Debian
RUN apt-get update && \ apt-get install -y autossh
Ubuntu
RUN apt-get update && \ apt-get install -y autossh
Alpine
RUN apk add autossh
Arch Arch Linux
RUN pacman -S --noconfirm autossh
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y autossh
Fedora
RUN dnf install -y autossh
Raspbian
RUN apt-get update && \ apt-get install -y autossh
click the source code to copy install autossh on any operating system with command-not-found.com