CH-J Server Managergestione server su SSH
Menu
Sorgente pubblicata

CH-J Server Manager

Sfoglia directory e file per una specifica release di applicazioni.

Scarica sorgente ZIP
CH-J / Server Manager 377 file
core-20261019T111616Z-160a00bfcddc Aggiunto: · Costruito:
Dockerfile.debian Aggiunto: Data non registrata 805 B · 10 righe
Codice Scarica file
1# Isolated test server for chj.users integration tests. Never use these accounts outside the container.
2ARG BASE=debian:trixie-slim
3FROM ${BASE}
4RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends openssh-server openssh-client sudo passwd procps sshpass e2fsprogs xfsprogs btrfs-progs util-linux mount \
5 && rm -rf /var/lib/apt/lists/* && mkdir -p /run/sshd && ssh-keygen -A
6RUN useradd -m -s /bin/bash -G sudo admin && echo 'admin:AdminPass-1' | chpasswd \
7 && useradd -m -s /bin/bash nopass && echo 'nopass:NopassPass-1' | chpasswd \
8 && printf 'nopass ALL=(ALL:ALL) NOPASSWD: ALL\n' > /etc/sudoers.d/90-nopass && chmod 440 /etc/sudoers.d/90-nopass \
9 && useradd -m -s /bin/bash plain && echo 'plain:PlainPass-1' | chpasswd
10CMD ["/usr/sbin/sshd", "-D", "-e"]
SHA-256530ab58a0deb67ec774c32f6faa5646f866a9f7699f78583f0a1cd1ac0ed8c7a

CH-J Proprietary Software License 1.14 · La sorgente è fornita sotto CH-J Proprietary Software License 1.14. La sua disponibilità non modifica i termini di licenza o concede diritti aggiuntivi.

Archivio SHA-256a9605c0870a223b6a8542bb0705edd51d8b04f3069582653417a8397fabcc09a
File