Flip the known_hosts enforcement to true so the git hosts actually gets verified

This commit is contained in:
Pieter Lange 2017-09-16 01:28:04 +02:00
parent 28254d864a
commit cdd6f09878
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ var flPassword = flag.String("password", envString("GIT_SYNC_PASSWORD", ""),
var flSSH = flag.Bool("ssh", envBool("GIT_SYNC_SSH", false),
"use SSH for git operations")
var flSSHKnownHosts = flag.Bool("ssh-known-hosts", envBool("GIT_KNOWN_HOSTS", false),
var flSSHKnownHosts = flag.Bool("ssh-known-hosts", envBool("GIT_KNOWN_HOSTS", true),
"enable SSH known_hosts verification")
var log = newLoggerOrDie()