-
-
Notifications
You must be signed in to change notification settings - Fork 303
Closed
Description
Is there an existing issue for this?
- I have searched the existing issues
Name of mod
openssh-server-ssh-tunnel
Name of base container
lscr.io/linuxserver/openssh-server:10.0_p1-r7-ls201
Current Behavior
The container cannot find the mod:
[mod-init] Running Docker Modification Logic
[mod-init] Adding linuxserver/mods:openssh-server-ssh-tunnel to container
[mod-init] linuxserver/mods:openssh-server-ssh-tunnel digest could not be fetched from lscr.io, checking local cache
[mod-init] (ERROR) OFFLINE: linuxserver/mods:openssh-server-ssh-tunnel not found in modcache, skipping
[migrations] started
[migrations] no migrations found
Expected Behavior
The mod should load and the container start.
Steps To Reproduce
The following Kubernetes YAML:
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: openssh-server
namespace: openssh
labels:
app: openssh-server
spec:
selector:
matchLabels:
app: openssh-server
template:
metadata:
labels:
app: openssh-server
spec:
automountServiceAccountToken: false
containers:
# https://hub.docker.com/r/linuxserver/openssh-server/tags
- image: "lscr.io/linuxserver/openssh-server:10.0_p1-r7-ls201"
name: openssh-server
env:
- name: PUID
value: "1000"
- name: PGID
value: "1000"
- name: UMASK
value: "0027"
- name: TZ
value: "Europe/Amsterdam"
- name: USER_NAME
value: "matillion"
- name: PASSWORD_ACCESS
value: "False"
- name: PUBLIC_KEY_FILE
valueFrom:
secretKeyRef:
name: openssh-server-secret
key: public_key.pub
- name: DOCKER_MODS
value: "linuxserver/mods:openssh-server-ssh-tunnel"
- name: LOG_STDOUT
value: "true"
ports:
- containerPort: 2222
name: openssh-server
resources:
limits:
memory: 500Mi
requests:
cpu: 10m
memory: 50Mi
securityContext:
seccompProfile:
type: RuntimeDefault
allowPrivilegeEscalation: false
privileged: false
securityContext:
fsGroup: 1000
seccompProfile:
type: RuntimeDefault
Environment
- OS: Ubuntu `Ubuntu 22.04.5 LTS 5.15.0-1088-azure containerd://1.7.27-1`
- How docker service was installed: AKS cluster
CPU architecture
x86-64
Docker creation
See steps to reproduce
Container logs
[mod-init] Running Docker Modification Logic
[mod-init] Adding linuxserver/mods:openssh-server-ssh-tunnel to container
[mod-init] linuxserver/mods:openssh-server-ssh-tunnel digest could not be fetched from lscr.io, checking local cache
[mod-init] (ERROR) OFFLINE: linuxserver/mods:openssh-server-ssh-tunnel not found in modcache, skipping
[migrations] started
[migrations] no migrations found
───────────────────────────────────────
██╗ ███████╗██╗ ██████╗
██║ ██╔════╝██║██╔═══██╗
██║ ███████╗██║██║ ██║
██║ ╚════██║██║██║ ██║
███████╗███████║██║╚██████╔╝
╚══════╝╚══════╝╚═╝ ╚═════╝
Brought to you by linuxserver.io
───────────────────────────────────────
To support LSIO projects visit:
https://www.linuxserver.io/donate/
───────────────────────────────────────
GID/UID
───────────────────────────────────────
User UID: 1000
User GID: 1000
───────────────────────────────────────
Linuxserver.io version: 10.0_p1-r7-ls201
Build-date: 2025-07-27T18:59:48+00:00
───────────────────────────────────────
User name is set to matillion
sudo is disabled.
ssh-keygen: generating new host keys: RSA ECDSA ED25519
SSH host public key(s):
ecdsa-sha2-nistp256 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX root@openssh-server-65c5df6f55-d85dw
ssh-ed25519 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX root@openssh-server-65c5df6f55-d85dw
ssh-rsa XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX root@openssh-server-65c5df6f55-d85dw
sshd is listening on port 2222
User/password ssh access is disabled.
[custom-init] No custom files found, skipping...
Server listening on 0.0.0.0 port 2222.
Server listening on :: port 2222.
Connection to localhost (::1) 2222 port [tcp/*] succeeded!
Connection closed by ::1 port 48682
[ls.io-init] done.
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done