Disable password authentication in SSH command

This will turn off the password authentication prompt which some SSH
commands experience if there is a lag between when we attempt the first
SSH command and the key has been loaded on the server.

Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
This commit is contained in:
Nathan LeClaire 2015-05-22 14:02:58 -07:00
parent 5229643a22
commit 93b4799279
1 changed files with 1 additions and 0 deletions

View File

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