diff --git a/ec2/spark_ec2.py b/ec2/spark_ec2.py index 7371558274d785a7b64215129db77f227beaf48d..3f7242a53d6fd775a1238e73bcc529858af0ed35 100755 --- a/ec2/spark_ec2.py +++ b/ec2/spark_ec2.py @@ -899,6 +899,7 @@ def stringify_command(parts): def ssh_args(opts): parts = ['-o', 'StrictHostKeyChecking=no'] + parts += ['-o', 'UserKnownHostsFile=/dev/null'] if opts.identity_file is not None: parts += ['-i', opts.identity_file] return parts