aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2021-10-24 16:03:27 -0500
committerJesús <heckyel@hyperbola.info>2021-10-24 16:03:27 -0500
commit308734f2eac7d1cfb487d164b10dc726e1e5a0d0 (patch)
tree4462064e2f0688d42db479ee3c35f852cc4eaaef
parent0b80d2615f0cbbb07044056ef22fb3d4d35799dc (diff)
downloadgitolite-cgit-docker-308734f2eac7d1cfb487d164b10dc726e1e5a0d0.tar.lz
gitolite-cgit-docker-308734f2eac7d1cfb487d164b10dc726e1e5a0d0.tar.xz
gitolite-cgit-docker-308734f2eac7d1cfb487d164b10dc726e1e5a0d0.zip
SSH: disable login root
-rwxr-xr-xgitolite-cgit/entrypoint.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitolite-cgit/entrypoint.sh b/gitolite-cgit/entrypoint.sh
index b9e0e06..a37edc0 100755
--- a/gitolite-cgit/entrypoint.sh
+++ b/gitolite-cgit/entrypoint.sh
@@ -30,7 +30,7 @@ HostKey /etc/ssh/ssh_host_ed25519_key
# Authentication:
#LoginGraceTime 2m
-#PermitRootLogin prohibit-password
+PermitRootLogin no
#StrictModes yes
MaxAuthTries 3
#MaxSessions 10