lib/standup/node.rb in standup-0.3.15 vs lib/standup/node.rb in standup-0.3.16

- old
+ new

@@ -24,10 +24,10 @@ @instance ||= EC2::Instance.group_running[id_group].try(:first) end def ssh_string return '' unless instance - "ssh -i #{Settings.aws.keypair_file} -q -o StrictHostKeyChecking=no #{scripts.ec2.params.ssh_user}@#{instance.external_ip}" + "ssh -i #{Settings.aws.keypair_file} -C -q -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null #{scripts.ec2.params.ssh_user}@#{instance.external_ip}" end def params Settings.nodes[@name] || ActiveSupport::HashWithIndifferentAccess.new end \ No newline at end of file