From e2ee37f71a5059578605c77bdd0d8bad71049c5a Mon Sep 17 00:00:00 2001 From: Dmitry Ilvokhin Date: Sun, 21 Jan 2024 18:14:36 +0000 Subject: Add role for git server The Git server role should support: * git ssh protocol, * git protocol, * git smart http protocol. Support for cgit will come as a separate role. --- roles/git/files/no-interactive-login | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 roles/git/files/no-interactive-login (limited to 'roles/git/files/no-interactive-login') diff --git a/roles/git/files/no-interactive-login b/roles/git/files/no-interactive-login new file mode 100644 index 0000000..7e6f6c5 --- /dev/null +++ b/roles/git/files/no-interactive-login @@ -0,0 +1,6 @@ +#! /usr/bin/env sh + +echo "Hello! You've successfully authenticated," \ + "but I do not provide interactive shell access." + +exit 128 -- cgit v1.2.3-70-g09d2