diff options
Diffstat (limited to 'roles/obsd_git/templates/git-shell-commands/no-interactive-login')
| -rw-r--r-- | roles/obsd_git/templates/git-shell-commands/no-interactive-login | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/roles/obsd_git/templates/git-shell-commands/no-interactive-login b/roles/obsd_git/templates/git-shell-commands/no-interactive-login new file mode 100644 index 0000000..7c774ca --- /dev/null +++ b/roles/obsd_git/templates/git-shell-commands/no-interactive-login @@ -0,0 +1,10 @@ +#!/bin/sh +set -e + +main() { + printf '%s\n' "Hi $USER! You've successfully authenticated, but I do not" + printf '%s\n' "provide interactive shell access." + exit 128 +} + +main "$@" |