
autossh
List of commands for autossh:
-
autossh:tldr:491a3 autossh: Start an SSH session, restarting when a monitoring port fails to return data.$ autossh -M ${monitor_port} "${ssh_command}"try on your machineexplain this command
-
autossh:tldr:4ddc4 autossh: Run in the background, with no monitoring port, and instead send SSH keep-alive packets every 10 seconds to detect failure.$ autossh -f -M 0 -N -o "ServerAliveInterval 10" -o "ServerAliveCountMax 3" "${ssh_command}"try on your machineexplain this command
-
autossh:tldr:74784 autossh: Fork `autossh` into the background before executing `ssh` and don't open a remote shell.$ autossh -f -M ${monitor_port} -N "${ssh_command}"try on your machineexplain this command
-
autossh:tldr:cf0d0 autossh: Forward a local port to a remote one, restarting when necessary.$ autossh -M ${monitor_port} -L ${local_port}:localhost:${remote_port} ${user}@${host}try on your machineexplain this command
-
autossh:tldr:eac8e autossh: Run in the background, logging `autossh` debug output and `ssh` verbose output to files.$ AUTOSSH_DEBUG=1 AUTOSSH_LOGFILE=${path-to-autossh_log_file-log} autossh -f -M ${monitor_port} -v -E ${path-to-ssh_log_file-log} ${ssh_command}try on your machineexplain this command
-
autossh:tldr:f3a46 autossh: Run in the background, with no monitoring port and no remote shell, exiting if the port forward fails.$ autossh -f -M 0 -N -o "ServerAliveInterval 10" -o "ServerAliveCountMax 3" -o ExitOnForwardFailure=yes -L ${local_port}:localhost:${remote_port} ${user}@${host}try on your machineexplain this command