We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 911a67d commit d139d66Copy full SHA for d139d66
ipyparallel/tests/test_ssh.py
@@ -29,15 +29,18 @@ def ssh_config(ssh_key, request):
29
c.Cluster.controller_ip = '0.0.0.0'
30
c.Cluster.engine_launcher_class = request.param
31
engine_set_cfg = c[f"{request.param}EngineSetLauncher"]
32
+ engine_set_cfg.ssh_args = []
33
if not windows:
- engine_set_cfg.ssh_args = [
34
- "-o",
35
- "UserKnownHostsFile=/dev/null",
36
37
- "StrictHostKeyChecking=no",
38
- "-i",
39
- ssh_key,
40
- ]
+ engine_set_cfg.ssh_args.extend(
+ [
+ "-o",
+ "UserKnownHostsFile=/dev/null",
+ "StrictHostKeyChecking=no",
+ "-i",
41
+ ssh_key,
42
+ ]
43
+ )
44
engine_set_cfg.scp_args = list(engine_set_cfg.ssh_args) # copy
45
if windows:
46
engine_set_cfg.remote_python = "python"
0 commit comments