Skip to content

Commit

Permalink
Revert "EC2: disable strict host checking for SSH"
Browse files Browse the repository at this point in the history
  • Loading branch information
domenkozar committed Dec 6, 2016
1 parent b104025 commit 5a9adc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixops/backends/ec2.py
Expand Up @@ -182,7 +182,7 @@ def get_ssh_private_key_file(self):
def get_ssh_flags(self, *args, **kwargs):
file = self.get_ssh_private_key_file()
super_flags = super(EC2State, self).get_ssh_flags(*args, **kwargs)
return super_flags + ["-o", "StrictHostKeyChecking=no"] + (["-i", file] if file else [])
return super_flags + (["-i", file] if file else [])

def get_physical_spec(self):
block_device_mapping = {}
Expand Down

0 comments on commit 5a9adc8

Please sign in to comment.