SSH - don't enable BatchMode

When a passphrase protected key is not yet in ssh-agent, it gives a
chance to the user to fill a prompt instead of silently failing.

Signed-off-by: Bilal Amarni <bilal.amarni@gmail.com>
This commit is contained in:
Bilal Amarni 2016-04-17 09:34:48 +02:00
parent 9718d6c266
commit b62afc85f7
1 changed files with 0 additions and 1 deletions

View File

@ -65,7 +65,6 @@ const (
var ( var (
baseSSHArgs = []string{ baseSSHArgs = []string{
"-F", "/dev/null", "-F", "/dev/null",
"-o", "BatchMode=yes",
"-o", "PasswordAuthentication=no", "-o", "PasswordAuthentication=no",
"-o", "StrictHostKeyChecking=no", "-o", "StrictHostKeyChecking=no",
"-o", "UserKnownHostsFile=/dev/null", "-o", "UserKnownHostsFile=/dev/null",