From 07467decb24b8aa606d0d97ef6d07e15cef08498 Mon Sep 17 00:00:00 2001 From: Anirudh Oppiliappan Date: Sun, 26 Jan 2025 20:30:18 +0200 Subject: [PATCH] repoguard: better error message for interactive shells --- cmd/repoguard/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/repoguard/main.go b/cmd/repoguard/main.go index 8792c09..2d32591 100644 --- a/cmd/repoguard/main.go +++ b/cmd/repoguard/main.go @@ -49,7 +49,7 @@ func main() { }) if sshCommand == "" { - exitWithLog("access denied: no ssh command provided") + exitWithLog("access denied: we don't serve interactive shells :)") } cmdParts := strings.Fields(sshCommand) -- knotmirror 0.0.1