Add 'StrictHostKeyChecking no' to ssh config for ec2.internal hosts - #4431
Conversation
…pprove connections to internal servers'
|
Hmm, I just tried this recipe and it didn't update /home/ubuntu/.ssh/config as expected. In fact that file, doesn't match the old version of this file either. Which file is actually updated by the ssh_config.erb? |
|
the For the frontend instances, it looks like the Updating this override attribute through knife or the Chef management console should do the trick for updating the frontend ssh configs. |
|
I updated the attribute as Will suggested and this now deploys correctly on production-daemon. Let's go ahead and check this in for the nodes where it does apply; will have Josh review. |
|
I don't have a good way to validate this change, but LGTM if it applies correctly on |
|
Yes, tested that this works as expected. |
…ernal Add 'StrictHostKeyChecking no' to ssh config for ec2.internal hosts
commit 745b543 Merge: 3f60151 7d64872 Author: Caley Brock <caleybrock7@gmail.com> Date: Tue Oct 13 14:10:46 2015 -0700 Merge pull request #4528 from code-dot-org/state-style-fix State page fixes commit 3f60151 Merge: 1bd0833 3c0f10b Author: Trevor Berg <trevor@code.org> Date: Tue Oct 13 14:06:29 2015 -0700 Merge pull request #4530 from code-dot-org/fix-debug-icon Fix font size on debug icon commit 1bd0833 Merge: 53bfb7a 21a71cb Author: philbogle <phil@code.org> Date: Tue Oct 13 13:53:10 2015 -0700 Merge pull request #4431 from code-dot-org/no_strict_key_checking_internal Add 'StrictHostKeyChecking no' to ssh config for ec2.internal hosts commit 3c0f10b Author: Trevor Berg <trevor@code.org> Date: Tue Oct 13 13:51:51 2015 -0700 Fix font size on debug icon
Add 'StrictHostKeyChecking no' to the ssh config for ec2.internal hosts, eliminating the need for users to manually accept connections to new internal hosts.
We rely in many places on Amazon's internal IP routing not being compromised by man-in-the-middle attacks, so this is not the security risk it might first appear to be.