diff options
| author | dev <dev@example> | 2026-11-15 13:54:31 +0000 |
|---|---|---|
| committer | dev <dev@example> | 2026-11-15 13:54:31 +0000 |
| commit | da06d4f56afa72ae832238f91358b9aeaeaf0da5 (patch) | |
| tree | 7ead0d915bf4e388dcc55d3b63b4fc0628ef895b /container/sshd_config | |
| parent | 85b7fa7f8456c84f65a0d81b760c430098ae7fd8 (diff) | |
| download | access-control-main.tar.gz access-control-main.zip | |
The container image and all the server configuration (Dockerfile, entrypoint,
cgitrc, sshd, lighttpd, create-repo, git-host-key) move to the git-host project.
This repo is now just the program: cmd/, src/, test/, the Makefile that builds
git-authz and installs it, and the example policy - the same cmd/src/test/obj
layout the reference projects use.
The CI pipeline keeps the compile-and-test gate (strict, test, sanitizer,
install) and drops the container-build job, which belongs to git-host now.
Diffstat (limited to 'container/sshd_config')
| -rw-r--r-- | container/sshd_config | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/container/sshd_config b/container/sshd_config deleted file mode 100644 index fca7e7b..0000000 --- a/container/sshd_config +++ /dev/null @@ -1,33 +0,0 @@ -Port 2222 -ListenAddress 0.0.0.0 -HostKey /run/git-host/secrets/ssh_host_ed25519_key -HostKey /run/git-host/secrets/ssh_host_rsa_key -PidFile /run/sshd/sshd.pid - -# One OS account for everyone; the name behind a key comes from the key itself: -# -# environment="GIT_HOST_USER=alice",command="/usr/bin/git-shell",... ssh-ed25519 ... - -AuthorizedKeysFile /run/git-host/secrets/authorized_keys - -# Without this sshd silently drops the environment= option and every push arrives -# anonymous. The usual objection does not apply: there is no login shell here -# (ForceCommand below), no writable files and no user rc file. - -PermitUserEnvironment yes - -# For a hand-added key that forgot its command= option: git transport, no shell. - -ForceCommand /usr/bin/git-shell - -PasswordAuthentication no -KbdInteractiveAuthentication no -ChallengeResponseAuthentication no -PermitRootLogin no -PermitTunnel no -AllowTcpForwarding no -X11Forwarding no -PermitTTY no -PrintMotd no -AllowUsers git -Subsystem sftp internal-sftp |
