From e6dcb0aecfb086f141dcd64b9c5284fac1075a8d Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Wed, 10 Nov 2021 11:39:00 +0100 Subject: [PATCH] worker: do not allocate a PTY --- worker/context.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worker/context.go b/worker/context.go index f84a60c..b991dda 100644 --- a/worker/context.go +++ b/worker/context.go @@ -276,7 +276,7 @@ func (ctx *JobContext) SSH(args ...string) *exec.Cmd { "-Gc", strings.Join(args, " ")) case "ssh": return exec.CommandContext(ctx.Context, "ssh", - append([]string{"-q", "-t", + append([]string{"-q", "-p", sport, "-o", "UserKnownHostsFile=/dev/null", "-o", "StrictHostKeyChecking=no", -- 2.38.5