Open gchux opened 17 hours ago
9.7_p1-r4-ls175 fails to start with WARNING: UNPROTECTED PRIVATE KEY FILE!
9.7_p1-r4-ls175
WARNING: UNPROTECTED PRIVATE KEY FILE!
9.7_p1-r4-ls174 is OK
9.7_p1-r4-ls174
lscr.io/linuxserver/openssh-server:9.7_p1-r4-ls175
Permissions 0640 for '/etc/ssh/ssh_host_ed25519_key' are too open.
- OS: Ubuntu 22.04 - How docker service was installed: using Docker's provided install script
x86-64
docker buildx build -f Dockerfile -t ssh-server .
ssh-keygen: generating new host keys: RSA ECDSA ED25519 SSH host public key(s): ... @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: UNPROTECTED PRIVATE KEY FILE! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Permissions 0640 for '/etc/ssh/ssh_host_rsa_key' are too open.
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.
Is there an existing issue for this?
Current Behavior
9.7_p1-r4-ls175
fails to start withWARNING: UNPROTECTED PRIVATE KEY FILE!
Expected Behavior
9.7_p1-r4-ls174
is OKSteps To Reproduce
lscr.io/linuxserver/openssh-server:9.7_p1-r4-ls175
WARNING: UNPROTECTED PRIVATE KEY FILE!
Permissions 0640 for '/etc/ssh/ssh_host_ed25519_key' are too open.
Environment
CPU architecture
x86-64
Docker creation
Container logs