mirror of https://github.com/docker/docs.git
Merge pull request #2711 from dgageot/ssh-batch-mode
We must never ask for a password interactively
This commit is contained in:
commit
1b76a4467c
|
@ -48,6 +48,7 @@ const (
|
||||||
|
|
||||||
var (
|
var (
|
||||||
baseSSHArgs = []string{
|
baseSSHArgs = []string{
|
||||||
|
"-o", "BatchMode=yes",
|
||||||
"-o", "PasswordAuthentication=no",
|
"-o", "PasswordAuthentication=no",
|
||||||
"-o", "StrictHostKeyChecking=no",
|
"-o", "StrictHostKeyChecking=no",
|
||||||
"-o", "UserKnownHostsFile=/dev/null",
|
"-o", "UserKnownHostsFile=/dev/null",
|
||||||
|
|
Loading…
Reference in New Issue