forked from toolshed/abra
		
	WIP: temporarily avoid SSH host key checking
Closes coop-cloud/organising#234. Closes coop-cloud/organising#142.
This commit is contained in:
		| @ -19,7 +19,7 @@ import ( | |||||||
| // | // | ||||||
| // ssh://<user>@<host> URL requires Docker 18.09 or later on the remote host. | // ssh://<user>@<host> URL requires Docker 18.09 or later on the remote host. | ||||||
| func GetConnectionHelper(daemonURL string) (*connhelper.ConnectionHelper, error) { | 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) { | func getConnectionHelper(daemonURL string, sshFlags []string) (*connhelper.ConnectionHelper, error) { | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user