Sign in

Mod for openssh-server

autossh

This mod adds autossh to openssh-server, to be installed/updated during container start.

arch
amd64
built

Use it#

Set DOCKER_MODS on the openssh-server container and recreate it. The mod is pulled on every start; several mods are separated with |.

DOCKER_MODS=ghcr.io/linuxserver-playground/mods:openssh-server-autossh

:openssh-server-autossh always gets the newest build. To stay on this one, pin its tag:

DOCKER_MODS=ghcr.io/linuxserver-playground/mods:openssh-server-autossh-15d5835
services:
  openssh-server:
    image: ghcr.io/linuxserver-playground/openssh-server:latest
    environment:
      - DOCKER_MODS=ghcr.io/linuxserver-playground/mods:openssh-server-autossh

Community project

Improve this mod, or make your own

Mods are how LinuxServer images grow without getting heavier: a Dockerfile, a few scripts and a mod.yml. If this one is missing something, or you need one like it for another image, an AI agent in our harness can build and test it with you.

Ask your agent

  • The openssh-server-autossh mod <what is wrong>. Fix it, test it and draft the PR.
  • Make a mod like openssh-server-autossh for <another image>, and test it.

Making a mod Every way to help Get the harness (opens in a new tab)

Source: openssh-server-autossh branch (opens in a new tab). Every mod