mirror of
https://github.com/linuxserver/docker-openssh-server.git
synced 2026-02-20 04:33:38 +08:00
Make it harder for logged in users to modify running config
This commit is contained in:
parent
3ee7d15fbd
commit
75eef9585c
@ -132,3 +132,5 @@ chmod 700 \
|
||||
/config/.ssh
|
||||
chmod 600 \
|
||||
/config/.ssh/authorized_keys
|
||||
chown root:root \
|
||||
/config/ssh_host_keys
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user