From 84d4c17e1e81a81a9ff8194227d41a8031f9a368 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Tue, 27 Mar 2012 22:37:56 +0200 Subject: [PATCH] ssh_config: Check host IP when connecting. --- ssh_config | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ssh_config b/ssh_config index 217ae9e..9dc5150 100644 --- a/ssh_config +++ b/ssh_config @@ -39,5 +39,7 @@ Host * # Don't send any environment variables. SendEnv +# Check host IP in known_hosts when connecting to detect DNS spoofing. + CheckHostIP yes # Ask before adding any host keys to ~/.ssh/known_hosts. StrictHostKeyChecking ask -- 2.45.2