Minimal OpenSSH server on Ubuntu 26.04 — env SFTP user, amd64/arm64
1.5K
Minimal OpenSSH server on ubuntu:resolute (Ubuntu 26.04).
| Variable | Required | Default | Meaning |
|---|---|---|---|
USER_NAME | yes | — | SFTP login name (must not be root) |
USER_PASSWORD | yes | — | Password (re-applied on every start) |
TZ | no | Asia/Shanghai | Timezone |
Upload directory is always ${SFTP_CHROOT}/uploads. After login, the SFTP working directory is /uploads inside the chroot. Root SSH login is disabled; only USER_NAME is allowed.
docker run -d --name openssh \
-p 2222:22 \
-e USER_NAME=sftpuser \
-e USER_PASSWORD=change-me \
-v openssh-data:/ftp-path \
ymlisoft/openssh-server:1.0-6
Content type
Image
Digest
sha256:c1d9bc2e2…
Size
64.4 MB
Last updated
12 days ago
docker pull ymlisoft/openssh-server