CH-J Server Manager透過 SSH 管理伺服器
選單
已發布的原始碼

CH-J Server Manager

瀏覽特定應用程式版本的目錄與檔案。

下載原始碼 ZIP
CH-J / Server Manager 377 個檔案
core-20261019T111616Z-160a00bfcddc 新增時間: · 建置時間:
Dockerfile.debian 新增時間: 未記錄日期 829 B · 11 行
程式碼 下載檔案
1# Isolated test server for File Manager / editor / transfer integration tests (Debian or Ubuntu via BASE).
2# Never use these accounts outside the container.
3ARG BASE=debian:trixie-slim
4FROM ${BASE}
5RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends openssh-server openssh-client sudo passwd procps python3 acl attr coreutils \
6 && rm -rf /var/lib/apt/lists/* && mkdir -p /run/sshd && ssh-keygen -A
7RUN useradd -m -s /bin/bash -G sudo admin && echo 'admin:AdminPass-1' | chpasswd \
8 && useradd -m -s /bin/bash nopass && echo 'nopass:NopassPass-1' | chpasswd \
9 && printf 'nopass ALL=(ALL:ALL) NOPASSWD: ALL\n' > /etc/sudoers.d/90-nopass && chmod 440 /etc/sudoers.d/90-nopass \
10 && useradd -m -s /bin/bash plain && echo 'plain:PlainPass-1' | chpasswd
11CMD ["/usr/sbin/sshd", "-D", "-e"]
SHA-256d52a753a48953e9e4da233507b2da35b4a87da7d69286a795d7253d53cf071f7

CH-J Proprietary Software License 1.14 · 原始碼依 CH-J Proprietary Software License 1.14 提供。公開原始碼不會改變授權條款,也不會授予額外的權利。

壓縮檔 SHA-256a9605c0870a223b6a8542bb0705edd51d8b04f3069582653417a8397fabcc09a
檔案