From 25b925fc877f649d6a9590abbc17db0ea65f62a3 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Sun, 1 Mar 2020 10:56:54 +0200
Subject: [PATCH] Don't disable SSH host key checking by default for any host.

If I want that behavior I would be explicit about it and use the `unssh`
alias instead.
---
 .ssh/config.d/20_endless | 2 --
 .ssh/config.d/90_ec2     | 7 -------
 2 files changed, 9 deletions(-)
 delete mode 100644 .ssh/config.d/90_ec2

diff --git a/.ssh/config.d/20_endless b/.ssh/config.d/20_endless
index 068810d..e10c91b 100644
--- a/.ssh/config.d/20_endless
+++ b/.ssh/config.d/20_endless
@@ -21,8 +21,6 @@ Host 10.17.*.* *.dev.endlessm.com *.dev.endlessm-sf.com
 ProxyCommand ssh vpn-router.uw1.endlessm.com -W %h:%p
 
 Host 172.31.*.* 10.*.*.* *.endlessm-sf.com
-UserKnownHostsFile /dev/null
-StrictHostKeyChecking no
 ProxyCommand ssh openvpn.endlessm.com -W %h:%p
 
 Host 172.31.*.* 10.*.*.* *.endlessm.com *.endlessm-sf.com endlessm.com
diff --git a/.ssh/config.d/90_ec2 b/.ssh/config.d/90_ec2
deleted file mode 100644
index 2e3df24..0000000
--- a/.ssh/config.d/90_ec2
+++ /dev/null
@@ -1,7 +0,0 @@
-
-# vim:ft=sshconfig
-# Disable SSH host key checking for EC2 instances.
-
-Host  *.compute-1.amazonaws.com
-UserKnownHostsFile /dev/null
-StrictHostKeyChecking no
-- 
GitLab