From f8edadb6732a104287347089a251742955f682ae Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Wed, 14 Aug 2019 12:09:11 +0900 Subject: [PATCH] Force allocate TTY with SSH --- worker/context.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worker/context.go b/worker/context.go index 23ced6f..ab4ccd3 100644 --- a/worker/context.go +++ b/worker/context.go @@ -179,7 +179,7 @@ func (wctx *WorkerContext) RunBuild( ctx.Log.Println("\x1B[1m\x1B[96mShell access for this build was requested.\x1B[0m") ctx.Log.Println("To log in with SSH, use the following command:") ctx.Log.Println() - ctx.Log.Printf("\tssh builds@%s connect %d", runner, job_id) + ctx.Log.Printf("\tssh -t builds@%s connect %d", runner, job_id) ctx.Log.Println() <-goctx.Done() } -- 2.38.5