From a8e2cd7297fe6ebe343b5357bc60f781fc0368f5 Mon Sep 17 00:00:00 2001 From: Evan Hazlett Date: Thu, 21 May 2015 14:44:55 -0400 Subject: [PATCH] ssh: add -t to force tty allocation Signed-off-by: Evan Hazlett --- ssh/client.go | 1 + 1 file changed, 1 insertion(+) diff --git a/ssh/client.go b/ssh/client.go index ad6c2c3e50..c976f0fef9 100644 --- a/ssh/client.go +++ b/ssh/client.go @@ -53,6 +53,7 @@ var ( "-o", "LogLevel=quiet", // suppress "Warning: Permanently added '[localhost]:2022' (ECDSA) to the list of known hosts." "-o", "ConnectionAttempts=3", // retry 3 times if SSH connection fails "-o", "ConnectTimeout=10", // timeout after 10 seconds + "-t", // force tty allocation } defaultClientType SSHClientType = External )