configure ssh options

This commit is contained in:
Воробьев Павел
2020-09-15 16:43:54 +03:00
parent e93cf26857
commit a28b8b5da5
3 changed files with 26 additions and 0 deletions

View File

@@ -139,6 +139,7 @@ func New(cfg *config.XCConfig, backend store.Backend) (*Cli, error) {
remote.SetNumThreads(cli.sshThreads)
remote.SetSSHCommand(cfg.SSHCommand)
remote.SetRemoteEnvironment(cfg.RemoteEnvironment)
remote.ApplyConfiguredOptions(cfg.SSHOptions)
// interpreter
cli.setInterpreter("none", cfg.Interpreter)