Skip to content

Commit 8524a4e

Browse files
committed
We must never ask for a password interactively
Signed-off-by: David Gageot <david@gageot.net>
1 parent 3c52f32 commit 8524a4e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libmachine/ssh/client.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ const (
4848

4949
var (
5050
baseSSHArgs = []string{
51+
"-o", "BatchMode=yes",
5152
"-o", "PasswordAuthentication=no",
5253
"-o", "StrictHostKeyChecking=no",
5354
"-o", "UserKnownHostsFile=/dev/null",

0 commit comments

Comments
 (0)