1
0
mirror of https://github.com/docker/docs.git synced 2026-11-05 00:14:17 +03:00

ssh: add -t to force tty allocation

Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
This commit is contained in:
Evan Hazlett
2015-05-21 14:44:55 -04:00
parent 0530ab3640
commit a8e2cd7297

View File

@@ -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
)