From 8524a4e7d97d0de5e3af90ebfa7886ab9320218b Mon Sep 17 00:00:00 2001 From: David Gageot Date: Tue, 29 Dec 2015 19:17:19 +0100 Subject: [PATCH] We must never ask for a password interactively Signed-off-by: David Gageot --- libmachine/ssh/client.go | 1 + 1 file changed, 1 insertion(+) diff --git a/libmachine/ssh/client.go b/libmachine/ssh/client.go index 1dea36b795..26ea968582 100644 --- a/libmachine/ssh/client.go +++ b/libmachine/ssh/client.go @@ -48,6 +48,7 @@ const ( var ( baseSSHArgs = []string{ + "-o", "BatchMode=yes", "-o", "PasswordAuthentication=no", "-o", "StrictHostKeyChecking=no", "-o", "UserKnownHostsFile=/dev/null",