forked from coop-cloud/abra
WIP: temporarily avoid SSH host key checking
Closes coop-cloud/organising#234. Closes coop-cloud/organising#142.
This commit is contained in:
parent
4a0761926c
commit
f9726b6643
|
@ -19,7 +19,7 @@ import (
|
|||
//
|
||||
// ssh://<user>@<host> URL requires Docker 18.09 or later on the remote host.
|
||||
func GetConnectionHelper(daemonURL string) (*connhelper.ConnectionHelper, error) {
|
||||
return getConnectionHelper(daemonURL, []string{"-o ConnectTimeout=5"})
|
||||
return getConnectionHelper(daemonURL, []string{"-o ConnectTimeout=5", "-o StrictHostKeyChecking=no"})
|
||||
}
|
||||
|
||||
func getConnectionHelper(daemonURL string, sshFlags []string) (*connhelper.ConnectionHelper, error) {
|
||||
|
|
Loading…
Reference in New Issue