summaryrefslogtreecommitdiff
path: root/roles/git/files/no-interactive-login
diff options
context:
space:
mode:
authorDmitry Ilvokhin <d@ilvokhin.com>2024-01-21 18:14:36 +0000
committerDmitry Ilvokhin <d@ilvokhin.com>2024-01-21 18:14:36 +0000
commite2ee37f71a5059578605c77bdd0d8bad71049c5a (patch)
tree4ce810536fc512a71114e8c3ebaaa5a29e1074be /roles/git/files/no-interactive-login
parent2822b40326df4c24042b879a64389ce5e594fa5b (diff)
downloadinfra-e2ee37f71a5059578605c77bdd0d8bad71049c5a.tar.gz
infra-e2ee37f71a5059578605c77bdd0d8bad71049c5a.tar.bz2
infra-e2ee37f71a5059578605c77bdd0d8bad71049c5a.zip
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.
Diffstat (limited to 'roles/git/files/no-interactive-login')
-rw-r--r--roles/git/files/no-interactive-login6
1 files changed, 6 insertions, 0 deletions
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